yarn install报错

方法1.修改yarn源为taobao源

yarn config set registry https://registry.npm.taobao.org/

 验证

yarn config get registry

方法2.PHANTOMJS_CDNURL=http://npm.taobao.org/mirrors/phantomjs yarn install

posted @ 2022-03-10 15:52  zydjjcpdszylddpll  阅读(156)  评论(0)    收藏  举报