Attempting to download free-solid-svg-icons package.
I get the following error with yarn add @fortawesome/free-solid-svg-icons
error An unexpected error occurred: "https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.3.1.tgz: ESOCKETTIMEDOUT".
Expected the package to download and resolve.
Version: 5.3.1 (package) 1.9.4 (yarn) 8.11.3 (node)
Add package yarn add @fortawesome/free-solid-svg-icons
Error times out after 4 attempts.
Appears to have been an intermittent issue and has now been resolved.
I'm seeing the same thing with 5.5.0
For me also the same thing occur, how to solve this ..? @KrisB1022

@balajibrk the free npm packages are hsoted on registry.yarnpkg.com, and we do not have control on that.
https://status.yarnpkg.com/ does not report issues, so it could also depend on your provider
I think it's a temporary network issue, please check your network connection and try again later
I cannot replicate this from Italy
$ yarn upgrade
yarn upgrade v1.17.3
warning ../../package.json: No license field
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
[4/4] ๐จ Rebuilding all packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
โโ @fortawesome/[email protected]
info All dependencies
โโ @fortawesome/[email protected]
โจ Done in 1.28s.
Issue solved by increasing the network timeout in .yarnrc file yarn config set network-timeout 600000 -g
`
Issue solved by increasing the network timeout in .yarnrc file
yarn config set network-timeout 600000 -g
`
2020/07
It worked this solution!
Thank you!!!
Most helpful comment
Issue solved by increasing the network timeout in .yarnrc file
yarn config set network-timeout 600000 -g`