npm ERR! cb() never called! npm ERR!

npm ERR! cb() never called! npm ERR! This is an error with npm itself.错误解决办法

npmERR!cb()never called!

npmERR!This is an errorwithnpm itself

解决:

  1. 删除下载好的 node_modules
  2. 删除 package-lock.json 文件

管理员权限执行下面的命令:

  1. 清除 npm 缓存 npm cache clean --force
  2. <font style="color:rgb(77, 77, 77);">npm install</font>
  3. 大功告成!

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!