Problem: NPM start can’t start the local service when processing the weex project
however, using weex run IOS can start the IOS simulator, NPM start reports an error, and the lack of WS module leads to the failure to start the local service of localhost and the failure to debug the browser code>
Perfectly solve the problem of NPM start error: cannot find module 'XX'
when NPM is used to operate webpack, the problem of error: cannot find module 'XX' often occurs when NPM start is used. The main problem is that the module 'XX' is missing when nodejs is installed. Just manually install the module yourself code> when NPM start is used
npm install 'XX' --save
perhaps
npm install 'XX' --save-dev
After the installation is complete, execute NPM start again
effect
Read More:
- How to solve the problem of Cannot find module’npmlog’ when installing nodejs under Linux
- Solve angular’s cannot find module ‘@ angular devkit / core’ problem
- Solved – problem cannot find module ‘webpack / bin / config yargs’
- NPM run dev error: cannot find module ‘webpack cli / bin / config yargs‘
- npm run devstart error: Error: Unable to find module ‘semver’
- npm start:Module not found: Error: Can’t resolve ‘xlsx’ in ‘/Users/huzhiqi/Downloads/web/…
- After installing nodejs, run NPM on the command line and report error: cannot find module ‘internal / util / types’
- To solve the problem of NPM run eject error in react
- Copy node causes NPM execution error: cannot find module ‘/ / lib / utils/ unsupported.js ‘
- NPM error ‘cannot find module’ internal / util / types’ solution;
- Error: solution to the problem of cannot find module ‘webpack / bin / config yargs’
- Perfectly solve the 1366 error of saving Chinese in MySQL
- Solve the problem that Gabor can’t start itself after the server is restarted
- NPM run serve reported an error “NPM err! Missing script: start”
- NPM can’t find D: //nodejs/node all of The solution of sudden_modules/NPM/bin/npm-cli.js
- Error: cannot find module ‘webpack / lib / ruleset’_ solve
- Solve the problem of unable to start under zookeeper Linux
- To solve the problem, start eclipse and return exit code = 13
- Perfectly solve the error loading media: file could not be played error
- Solve the problem of red wavy line in pychar when importing module written by oneself