npm run 导致This is probably not a problem with npm错误的解决方案

Posted ur home

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm run 导致This is probably not a problem with npm错误的解决方案相关的知识,希望对你有一定的参考价值。

解决方法

  1. 删除 node_modules
  2. npm cache clean --force 清理掉缓存
  3. npm install 重新安装依赖包
  4. npm run serve 成功

以上是关于npm run 导致This is probably not a problem with npm错误的解决方案的主要内容,如果未能解决你的问题,请参考以下文章

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

If no other git process is currently running, this probably means a git process crashed in this repo

Failed at the node-sass@4.14.1 postinstall script. npm ERR! This is probably not a problem with npm(

Failed at the node-sass@4.14.1 postinstall script. npm ERR! This is probably not a problem with npm(

Failed at the node-sass@4.13.1 postinstall script. npm ERR! This is probably not a problem with npm.

初始化vue项目,报错This is probably not a problem with npm,there is likely additional logging output above(示