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

Packages not installing #7873

Closed
Uj0 opened this issue Feb 5, 2020 · 1 comment
Closed

Packages not installing #7873

Uj0 opened this issue Feb 5, 2020 · 1 comment
Labels
fixed-in-modern This issue has been fixed / implemented in Yarn 2+.

Comments

@Uj0
Copy link

Uj0 commented Feb 5, 2020

Bug description

I'm trying to install the packages but it stops the process by saying ESOCKETTIMEDOUT. Though internet is working perfectly. I tried the same on some other computer but it worked.

Command

yarn [install]

What is the current behavior?
It is saying ESOCKETTIMEDOUT.

What is the expected behavior?
I expect it to install all packages. I have installed packages before but suddenly it has stopped working.

Steps to Reproduce

  1. install the packages using yarn from package.json. Attaching the packages list.

{
"name": "app-web",
"version": "0.1.0",
"private": true,
"dependencies": {
"@sentry/browser": "^5.10.1",
"antd": "^3.26.8",
"axios": "^0.19.0",
"bootstrap": "^4.3.1",
"deep-freeze": "^0.0.1",
"highcharts": "8.0.0",
"history": "^4.9.0",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"moment-timezone": "^0.5.27",
"node-sass": "^4.12.0",
"prop-types": "^15.7.2",
"react": "^16.11.0",
"react-bootstrap": "^1.0.0-beta.12",
"react-dom": "^16.11.0",
"react-highcharts": "^16.1.0",
"react-pdf-js": "^5.1.0",
"react-redux": "^7.1.1",
"react-router-dom": "^5.0.1",
"react-scripts": "3.3.1",
"react-window": "^1.8.5",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

2020-02-05 (1)
2020-02-05

Environment

  • Node Version: 10.15.3
  • Yarn v1 Version: 1.21.1
  • OS and version:
    Windows 10 version 1903
@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

2 participants