yarn is having troubles with the network connection

后端 未结 12 1934
伪装坚强ぢ
伪装坚强ぢ 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

    Try clearing your cache

    $ yarn cache clean
    $ yarn // to install dependencies, no need for "yarn install"
    

    Approach 2

    $ yarn install --network-timeout 1000000
    

    Reference https://github.com/yarnpkg/yarn/issues/4890#issuecomment-358179301

提交回复
热议问题