Ionic 创建项目遇到的 npm i RunningCommand狂转问题解决方案

1.用cnpm 代替npm 成为全局变量 1.npm install -g cnpm --registry=https://registry.npm.taobao.org(淘宝镜像下载cnpm)

2.npm config set registry=https://registry.npm.taobao.org(修改npm配置换源)

3.输入 npm config list 可以查看..npmrc 是否修改正确

猜你喜欢

转载自blog.csdn.net/qq_38282454/article/details/81226334
今日推荐