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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM