Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn add expo-cli --network-timeout 100000 gives rxjs-5.5.12.tgz: ESOCKETTIMEDOUT #7171

Closed
sudip03 opened this issue Apr 3, 2019 · 2 comments
Labels
fixed-in-modern This issue has been fixed / implemented in Yarn 2+.

Comments

@sudip03
Copy link

sudip03 commented Apr 3, 2019

Yarn version:
1.15.2

Node version:
10.5.0

Platform:
win32 x64

Trace:
Error: https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.12.tgz: ESOCKETTIMEDOUT
at ClientRequest. (C:\Program Files (x86)\Yarn\lib\cli.js:130168:19)
at Object.onceWrapper (events.js:273:13)
at ClientRequest.emit (events.js:182:13)
at TLSSocket.emitTimeout (_http_client.js:706:34)
at Object.onceWrapper (events.js:273:13)
at TLSSocket.emit (events.js:182:13)
at TLSSocket.Socket._onTimeout (net.js:444:8)
at ontimeout (timers.js:427:11)
at tryOnTimeout (timers.js:289:5)
at listOnTimeout (timers.js:252:5)

npm manifest:
No manifest

yarn manifest:
No manifest

Lockfile:
No lockfile

@dagogodboss
Copy link

Try using a different version of node. and then set your package.json to look exactly like the Expo Init package.json for 32.0.0 and install. this is how I solved mine

@merceyz
Copy link
Member

merceyz commented Jan 2, 2021

Closing as fixed in v2 where the timeout logic is less susceptible to this sort of issue

https://yarnpkg.com/getting-started/migration

@merceyz merceyz closed this as completed Jan 2, 2021
@merceyz merceyz added the fixed-in-modern This issue has been fixed / implemented in Yarn 2+. label Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed-in-modern This issue has been fixed / implemented in Yarn 2+.
Projects
None yet
Development

No branches or pull requests

3 participants