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

rxjs-compat-6.2.2.tgz: ESOCKETTIMEDOUT #6115

Closed
marcoberri opened this issue Jul 17, 2018 · 4 comments
Closed

rxjs-compat-6.2.2.tgz: ESOCKETTIMEDOUT #6115

marcoberri opened this issue Jul 17, 2018 · 4 comments
Assignees
Labels

Comments

@marcoberri
Copy link

marcoberri commented Jul 17, 2018

error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.2.2.tgz: ESOCKETTIMEDOUT".

Arguments: 
  C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js

PATH: 
  C:\java\ImageMagick-7.0.5-Q16;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files\OpenVPN\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Infocert\DiKe 6\RAO;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\java\apache-maven-3.3.9\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\TortoiseGit\bin;C:\Program Files\nodejs\;C:\Program Files\TortoiseSVN\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Yarn\bin\;C:\Users\marco.berri\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\marco.berri\AppData\Roaming\npm;C:\Users\marco.berri\AppData\Local\Yarn\bin

Yarn version: 
  1.7.0

Node version: 
  8.9.1

Platform: 
  win32 x64

Trace: 
  Error: https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.2.2.tgz: ESOCKETTIMEDOUT
      at ClientRequest.<anonymous> (C:\Program Files (x86)\Yarn\lib\cli.js:135306:19)
      at Object.onceWrapper (events.js:313:30)
      at emitNone (events.js:106:13)
      at ClientRequest.emit (events.js:208:7)
      at TLSSocket.emitTimeout (_http_client.js:708:34)
      at Object.onceWrapper (events.js:313:30)
      at emitNone (events.js:106:13)
      at TLSSocket.emit (events.js:208:7)
      at TLSSocket.Socket._onTimeout (net.js:407:8)
      at ontimeout (timers.js:475:11)

npm manifest: 
  {
    "name": "xxxxx",
    "version": "0.0.0",
    "license": "MIT",
    "scripts": {
      "ng": "ng",
      "start": "ng serve",
      "build": "ng build",
      "test": "ng test",
      "lint": "ng lint",
      "e2e": "ng e2e",
      "compodoc": "./node_modules/.bin/compodoc -p ./tsconfig.json"
    },
    "private": true,
    "dependencies": {
      "@angular/animations": "^6.0.4",
      "@angular/common": "^6.0.4",
      "@angular/compiler": "^6.0.4",
      "@angular/core": "^6.0.4",
      "@angular/forms": "^6.0.4",
      "@angular/http": "^6.0.4",
      "@angular/platform-browser": "^6.0.4",
      "@angular/platform-browser-dynamic": "^6.0.4",
      "@angular/router": "^6.0.4",
      "core-js": "^2.5.6",
      "crypto-js": "^3.1.9-1",
      "eslint": "^4.19.1",
      "file-saver": "^1.3.8",
      "font-awesome": "^4.7.0",
      "immutable": "^3.8.2",
      "moment": "^2.22.1",
      "moment-duration-format": "^1.3.0",
      "primeicons": "^1.0.0-beta.6",
      "primeng": "^6.0.0-beta.1",
      "quill": "^1.3.6",
      "rxjs": "^6.2.0",
      "rxjs-compat": "^6.0.0-rc.0",
      "underscore": "^1.8.3",
      "zone.js": "^0.8.26"
    },
    "devDependencies": {
      "@angular-devkit/core": "^0.2.0",
      "@angular/cli": "^6.0.8",
      "@angular/compiler-cli": "^6.0.4",
      "@angular/language-service": "^6.0.4",
      "@compodoc/compodoc": "^1.1.2",
      "@types/jasmine": "~2.5.53",
      "@types/jasminewd2": "~2.0.2",
      "@types/node": "^6.0.109",
      "codelyzer": "~4.3.0",
      "jasmine-core": "~2.6.2",
      "jasmine-spec-reporter": "~4.1.0",
      "karma": "^2.0.2",
      "karma-chrome-launcher": "~2.1.1",
      "karma-cli": "~1.0.1",
      "karma-coverage-istanbul-reporter": "^1.4.2",
      "karma-jasmine": "^1.1.2",
      "karma-jasmine-html-reporter": "^0.2.2",
      "protractor": "^5.3.1",
      "ts-node": "~3.2.0",
      "tslint": "~5.7.0",
      "typescript": "~2.7.2",
      "@angular-devkit/build-angular": "~0.6.8"
    }
  }

yarn manifest:
No manifest

Lockfile:
No lockfile

Nodejs v8.9.1
yarn 1.7.0
windows 10

Please mention your node.js, yarn and operating system version.

@ghost ghost assigned torifat Jul 17, 2018
@ghost ghost added the triaged label Jul 17, 2018
@rally25rs
Copy link
Contributor

It's probably a large package or a slow network. I believe we let node or the OS use whatever its default http timeout is (normally we don't pass a timeout), but you can override it by adding this line to a .yarnrc file in your project root:

network-timeout 600000

where the number is milliseconds to wait (600000ms = 10min)

@peteichuk
Copy link

error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.3.3.tgz: ESOCKETTIMEDOUT".

@stemy2
Copy link

stemy2 commented Dec 23, 2018

But ie i launch the command manually, it is completed in a couple of seconds. Why the connection problem is appearing in the installation process but not with a manual launch ?

@sovushka-utrom
Copy link

In my case it was the antivirus that was checking every package, and thus slowing down the installation. Try adding your project folder to your antivirus real-time protection exceptions.

bendemboski added a commit to adopted-ember-addons/ember-electron that referenced this issue Jan 25, 2021
We're getting intermittent timeouts installing dependencies on MacOS, and various issues such as yarnpkg/yarn#6115 indicate that it's likely some kind of network and/or disk I/O (maybe virus/anti-malware) issue, so let's bump up the install timeout.
bendemboski added a commit to adopted-ember-addons/ember-electron that referenced this issue Jan 25, 2021
We're getting intermittent timeouts installing dependencies on MacOS, and various issues such as yarnpkg/yarn#6115 indicate that it's likely some kind of network and/or disk I/O (maybe virus/anti-malware) issue, so let's bump up the install timeout.
bendemboski pushed a commit to adopted-ember-addons/ember-electron that referenced this issue Jan 25, 2021
We're getting intermittent timeouts installing dependencies on MacOS, and various issues such as yarnpkg/yarn#6115 indicate that it's likely some kind of network and/or disk I/O (maybe virus/anti-malware) issue, so let's bump up the install timeout.
yyc-git added a commit to Meta3D-Technology/Meta3D that referenced this issue Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants