启动项目时长串的报错如下什么原因?怎么解决?
来源:2-4 启动Angular过程介绍

二农戏猪
2017-05-11
> auction@0.0.0 start C:\Users\39502\auction
> ng serve
node_modules appears empty, you may need to run `npm install`
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "start" "--scripts-prepend-node-path"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! auction@0.0.0 start: `ng serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the auction@0.0.0 start script 'ng serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the auction package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs auction
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls auction
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\39502\auction\npm-debug.log
Process finished with exit code 1
1回答
-
JoJo
2017-05-12
错误提示里说 node_modules 文件夹是空的,创建项目时报错了么?
00
相似问题
回答 1
回答 2