我在社區里看到很多人都提問了同樣的問題,但是好像都沒解決,后臺在 npm install 時報 cb() 錯誤,我今天也遇到了,說一下我的環境,操作系統為windows 11,npm 6.14.18,node 14.21.3,python 2.7.18,npm 使用的國內倉庫 https://registry.npmmirror.com/ ,具體版本截圖如下:
當出現 cb() never called! 報錯之后,按照帖子里和管理員提供的方法,也嘗試了 npm cache clean -f 命令 和 rm -rf node_modules package-lock.json 命令,然后再 npm install ,依然是報錯,請問我這種情況應該如何解決?多謝。