Tag Archives: Weex and Vue

Perfectly solve the problem of NPM start error: cannot find module ‘XX’

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

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 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