摘要:
1.打开 C:\Users\用户名.yarnrc 添加 registry "https://registry.npmmirror.com" sass_binary_site "https://npmmirror.com/mirrors/node-sass/" phantomjs_cdnurl "ht 阅读全文
摘要:
1.查看已缓存包的列表 yarn cache list 2.查询cache缓存文件目录路径 yarn cache dir 3.yarn 清除缓存 yarn cache clean 4.npm清除缓存 npm cache clean --force 阅读全文
摘要:
1.安装yarn npm install yarn -g 2.配置yarn淘宝镜像 yarn config set registry https://registry.npmmirror.com 3.查询yarn镜像地址 yarn config get registry 4.恢复官方镜像 yarn 阅读全文