最近维护老项目 必须使用node14环境 使用nvm管理node版本时候 使用npm install 一直报错
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\Administrator\AppData\Roaming\npm-cache\_logs\2025-07-29T00_59_26_553Z-debug.log
Install for [ 'create-vue@latest' ] failed with code 1
换了源也提示这个错误 经过无数尝试 最终解决
解决办法:
npx --registry=https://registry.npmmirror.com create-vue@latest