npm install引起的项目崩溃(This is probably not a problem with npm,there is likely additional logging outp)
報錯This is probably not a problem with npm. There is likely additional logging output above.
參照一篇文章,windows下使用命令刪除 node_modules 用到 rimraf,因此需要先安裝 npm 包(全局安裝)
npm install rimraf -g
1
然后,進入包含 node_modules 的文件夾,再輸入指令
rimraf node_modules
1
刪除之后,重新執行 npm install 命令
但是,嘗試了多次均無效
無奈,只能進行最后的對抗了,采用徹底清除方式
正確操作:刪 node_modules、刪 pack-lock.json、清緩存
Windows下依次執行以下命令:
rimraf node_modules
rimraf package-lock.json
npm cache clear --force ?// 清緩存
npm install
————————————————
原文鏈接:https://blog.csdn.net/qq_41956139/java/article/details/104976303
解決
?
總結
以上是生活随笔為你收集整理的npm install引起的项目崩溃(This is probably not a problem with npm,there is likely additional logging outp)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SIFT特征提取原理
- 下一篇: centos7 安装 python3.5