vue npm ERR! cb() never called!
2021-08-10 本文已影响0人
安徒生1997

1.查看npm镜像源
npm get registry
2.如果是淘宝镜像则切换成原来的
npm config set registry https://registry.npmjs.org
3.切换淘宝镜像
npm config set registry http://registry.npm.taobao.org
npm get registry
npm config set registry https://registry.npmjs.org
npm config set registry http://registry.npm.taobao.org