npm install 报错npm ERR! cb() never called!

373 阅读1分钟

原因:

因为npm缓存所致,解决思路就是清除npm 缓存

解决办法

清除npm 缓存 npm cache clean -f

还不行,一般就是网络不行,尝试清除npm 缓存后多试几次结果成功了