yarn install出现or An unexpected error occurred: “https://registry.npm.taobao.org/avue-plugin-ueditor
yarn install 出现error An unexpected error occurred: "https://registry.npm.taobao.org/avue-plugin-ueditor: tunneling socket could not be established, cause=connectETIMEDOUT 93.184.216.34:8080".解决方案:运行命令
·
yarn install 出现
error An unexpected error occurred: "https://registry.npm.taobao.org/avue-plugin-ueditor: tunneling socket could not be established, cause=connect
ETIMEDOUT 93.184.216.34:8080".
解决方案:
运行命令,把资源地址设置成npm淘宝源
npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist
附带问题:node-sass缓慢
原因:代理出现了问题,删除之即可
解决方案:
npm config rm proxy
npm config rm https-proxy
对node-sass镜像源进行设置
yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass
最后 yarn install
更多推荐
已为社区贡献4条内容
所有评论(0)