The vue large-scale application is built and installed step by step according to the novice tutorial, but in the cnpm run dev Times (Node: 1192) UnhandledPromiseRejection Warning: UnhandledPromiseRejection (Rejection ID: 1): Error: Spawncmdenoent error.
The following is the content of the README.md file
A Vue.js project
# install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report # run unit tests npm run unit # run e2e tests npm run e2e # run all tests npm test
After Baidu is not, the default browser problem is not the problem of environmental variables. . But I just can’t find the answer. . . Pray for the great gods to solve this problem
Ps: Because of the initial contact and the failure of the operation, the global installation of $ CNPM Install-GlobalVue-CLI was performed many times during the repeated installation process (I wonder if this is the problem? ? )
Resolved, check whether the port number is occupied, restart the computer,