npm install 报错:“npm :this is an error with npm itself. Please report this error at: <https://github.com/npm/npm/issues>”

问题现象:npm i后报错:“npm :this is an error with npm itself. Please report this error at: <https://github.com/npm/npm/issues>”

  

 

解决方法:

  方法1:npm cache clean -f  // 清除npm缓存

     

  方法2: npm i npm  // 更新npm版本

 

  方法3:删除package-lock.json

 

文章来自:https://www.cnblogs.com/keepLeung/p/14202068.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3