yarn is having troubles with the network connection

后端 未结 12 1954
伪装坚强ぢ
伪装坚强ぢ 2021-02-12 19:02

I tried to install a package with yarn earlier today and I got this

yarn install
yarn install v1.9.4
[1/4]          


        
12条回答
  •  抹茶落季
    2021-02-12 19:50

    If you are using WSL for linux just add the current ip domain in: C:\Windows\System32\drivers\etc\hosts e.g:

    104.16.21.35    registry.yarnpkg.com
    

提交回复
热议问题