아무거나

[Yarn] ESOCKETTIMEDOUT on 31 MB package material-design-icons 에러 해결 본문

Javascript & HTML & CSS/Javascript

[Yarn] ESOCKETTIMEDOUT on 31 MB package material-design-icons 에러 해결

전봉근 2020. 3. 20. 17:47
반응형

yarn package install 도중에

아래와 같은 현상이 발생하였다.

$ yarn
yarn install v1.5.1
$ node tools/nodeVersionCheck.js
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/material-design-icons/-/material-design-icons-3.0.1.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/Users/dan/Dropbox/Documents/dev/landscape/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

그럴경우엔 아래와 같이 해결하자.

// windows 기준경로 C:\Users\user
// .yarnrc 에 아래내용 추가
network-timeout 600000

 

반응형
Comments