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