分析:比如之前装了淘宝镜像或者华为镜像,就算用npm装包,他的包源用
npm config get registry
查看
然后发现是其他的源那么
npm 删除源使用rm 命令
npm config rm registry