1. Error report
Error: Cannot find module 'webpack/lib/RuleSet'
In the first question, I tried to put node_ Modules folder and package- lock.json Delete the file and then NPM install it. I don’t know if it’s useful or not. Let’s take a note to solve the problem https://segmentfault.com/q/1010000012177571/a-1020000012180629
Comments below
2. After the execution, an error is reported
Error: Rule can only have one resource source (provided resource and test +
Solutions:
1 https://blog.csdn.net/weixin_ 40643648/article/details/109444867
reload webpage
3. Error report after execution
These dependencies were not found:
@videojs/vhs-utils/dist/byte-helpers in ./node_modules/video.js/dist/video.es.js
@videojs/vhs-utils/dist/containers in ./node_modules/video.js/dist/video.es.js
Solution:
Baidu found that the error was lack of dependence, so it directly solved the problem
npm install
yarn run server
Read More:
- [Solved] Error: Cannot find module ‘webpack/lib/RequestShortener’
- Run webpack error: Error: Cannot find module’webpack/lib/node/NodeTemplatePlugin’
- NPX webpack cannot find module’html webpack plugin’a bug causes headache
- Error: Cannot find module’webpack/bin/config-yargs’ solution
- Error: Cannot find module ‘webpack/schemas/WebpackOptions.json’
- Copy node causes NPM execution error: cannot find module ‘/ / lib / utils/ unsupported.js ‘
- Has HTML webpack plugin been installed, or error: cannot find module ‘HTML webpack plugin’
- Error: Cannot find Module ‘Webpack-cli ‘- Solution
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- Cannot find module ‘webpack cli / bin / config yargs‘
- VUE Error: Cannot find module ‘webpack/bin/config-yargs’
- Error: solution to the problem of cannot find module ‘webpack / bin / config yargs’
- Cannot find module ‘.. / lib / utils / unsupported. JS’ problem in installing node in centos7
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error [How to Fix]
- NPM run dev error: cannot find module ‘webpack cli / bin / config yargs‘
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- How to solve the problem of Cannot find module’npmlog’ when installing nodejs under Linux
- Webpack error module build failed: typeerror: fileSystem.statSync is not a function
- Perfectly solve the problem of NPM start error: cannot find module ‘XX’
- Solve angular’s cannot find module ‘@ angular devkit / core’ problem