用命令行安装npm国内淘宝镜像
1.win+R 打开,输入cmd,进入终端
2.输入:
npm config set registry https://registry.npm.taobao.org
如下图所示:
3.输入:npm config get registry
返回淘宝镜像路径即安装成功。
用命令行安装npm国内淘宝镜像
1.win+R 打开,输入cmd,进入终端
2.输入:
npm config set registry https://registry.npm.taobao.org
如下图所示:
3.输入:npm config get registry
返回淘宝镜像路径即安装成功。