码迷,mamicode.com
首页 > 移动开发 > 详细

C:\Users\Kelly\AppData\Roaming\npm-cache\_logs\2019-03-24T08_17_24_284Z-debug.log

时间:2019-09-30 12:39:39      阅读:478      评论:0      收藏:0      [点我收藏+]

标签:clean   not   oba   res   put   debug   ORC   bug   like   

npm install报如下错误:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bhwechat@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the bhwechat@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Kelly\AppData\Roaming\npm-cache\_logs\2019-03-24T08_17_24_284Z-debug.log

解决方案1(实践成功):
1、删除node_modules包
2、清除缓存:npm cache clean --force
3、重新安装:npm install

解决方法2(未实践):
1)删除原有的node_modules文件夹,即C:\Users\zhang\AppData\Roaming\npm\node_modules

2)重新执行安装命令:npm install -g @angular/cli@6.1.5 -save-dev

C:\Users\Kelly\AppData\Roaming\npm-cache\_logs\2019-03-24T08_17_24_284Z-debug.log

标签:clean   not   oba   res   put   debug   ORC   bug   like   

原文地址:https://www.cnblogs.com/Hajar/p/11612005.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!