替换淘宝镜像地址,及查看地址
2022-04-12 本文已影响0人
daoqing99
设置淘宝镜像地址
npm config set registry https://registry.npmmirror.com/
取消淘宝镜像
npm config delete registry
查看是否配置正确命令
npm config get registry
另外在c盘
也可查看
C:\Users\to\.npmrc
npm config set registry https://registry.npmmirror.com/
npm config delete registry
npm config get registry
c盘
也可查看
C:\Users\to\.npmrc