【已解决】npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.

04-19 1965阅读 0评论

npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.

一. 问题描述

用npm安装依赖报错:

【已解决】npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.,【已解决】npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,安装,方法,错误,第1张
(图片来源网络,侵删)
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs20-12-16T07_38_47_793Z-debug.log

二. 问题解决

这个问题困扰了我几天,网上答案五花八门,不过对我来说,那些方法都没有效果,记录一下我解决这个错误的步骤,如下:

  1. 删除下载好的node_modules
  2. 删除package-lock.json文件
  3. 清除npm缓存 npm cache clean
  4. npm install
【已解决】npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.,【已解决】npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,安装,方法,错误,第2张
(图片来源网络,侵删)
【已解决】npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.,【已解决】npm安装依赖报错: npm ERR! cb() never called! npm ERR! This is an error with npm itself.,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,安装,方法,错误,第3张
(图片来源网络,侵删)

免责声明
本网站所收集的部分公开资料来源于AI生成和互联网,转载的目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。
文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

发表评论

快捷回复: 表情:
评论列表 (暂无评论,1965人围观)

还没有评论,来说两句吧...

目录[+]