npm ERR! cb() never called!

1、问题描述

npm ERR! cb() never called!

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:
npm ERR!     C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2022_659Z-debug.log

2、解决步骤

2.1、删除 node_modules 目录

RD /S /Q node_modules

2.2、删除 package-lock.json 文件

DEL /S /Q package-lock.json

2.3、清除缓存

npm cache clean --force

2.4、执行安装

npm install --registry=https://registry.npm.taobao.org
posted @ 2022-03-24 11:54  Bruce.Chang.Lee  阅读(6135)  评论(0编辑  收藏  举报