标签:rate gis windows exp ted 永久 cdn electron str
yarn设置临时镜像
yarn save express --registry https://registry.npm.taobao.org
yarn设置永久镜像
yarn config set registry https://registry.npm.taobao.org
npm设置临时镜像
npm --registry https://registry.npm.taobao.org install express
npm设置永久镜像
npm config set registry https://registry.npm.taobao.org
配置文件错误#
Windows下~/.yarnrc文件有升级检查导致不走镜像源:
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
registry "https://registry.npm.taobao.org"
electron_mirror "https://npm.taobao.org/mirrors/electron/"
lastUpdateCheck 1584361306390
sass-binary-site "http://npm.taobao.org/mirrors/node-sass"
sass_binary_site "http://cdn.npm.taobao.org/dist/node-sass"
lastUpdateCheck 1584361306390删掉就行了
yarn安装Electron提示安装正常却实际没有安装的解决
标签:rate gis windows exp ted 永久 cdn electron str
原文地址:https://www.cnblogs.com/wbyixx/p/12907978.html