美文网首页
npm install 报错

npm install 报错

作者: Alexa_老王 | 来源:发表于2021-11-29 08:55 被阅读0次

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:

解决方法:
1、删除下载好的node_modules
2、删除package-lock.json文件
3、以管理员权限执行下面的命令(Mac使用sudo):
Windows: npm cache clean --force
Mac:sudo npm cache clean --force
4、npm install

相关文章

网友评论

      本文标题:npm install 报错

      本文链接:https://www.haomeiwen.com/subject/iyvkxrtx.html