安装依赖通常使用如下命令:
npm install --registry=https://registry.npm.taobao.org
但有时还是会失败,先安装cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
然后再执行
cnpm install
安装依赖通常使用如下命令:
npm install --registry=https://registry.npm.taobao.org
但有时还是会失败,先安装cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
然后再执行
cnpm install
本文标题:npm install指定镜像仍然失败,考虑安装cnpm
本文链接:https://www.haomeiwen.com/subject/czzpxhtx.html
网友评论