Closed rbatllet closed 3 years ago
The same with Angular 6.0.1 version:
Error: https://registry.yarnpkg.com/@angular/common/-/common-6.0.1.tgz: unexpected end of file at Zlib.zlibOnError [as onerror] (zlib.js:153:17)
Getting this with @fortawesome/fontawesome-free-regular
too. π
same here for
yarn add @angular/material @angular/cdk
maybe the registry has some problems? ;-)
same here
Also getting this for multiple from the @fortawesome
repos.
I'm the UK region (EU West)
These seem to be working for me:
~/Projects/yarn-test2 π yarn init -y
yarn init v1.6.0
warning The yes flag has been set. This will automatically answer yes to all questions, which may have security implications.
success Saved package.json
β¨ Done in 0.03s.
~/Projects/yarn-test2 π yarn add @fortawesome/fontawesome-free-solid
yarn add v1.6.0
info No lockfile found.
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
[4/4] π Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
ββ @fortawesome/fontawesome-free-solid@5.0.13
info All dependencies
ββ @fortawesome/fontawesome-common-types@0.1.7
ββ @fortawesome/fontawesome-free-solid@5.0.13
β¨ Done in 1.99s.
~/Projects/yarn-test2 π yarn add @angular/material @angular/cdk
yarn add v1.6.0
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
warning " > @angular/material@6.0.2" has unmet peer dependency "@angular/core@>=6.0.0-beta.0 <7.0.0".
warning " > @angular/material@6.0.2" has unmet peer dependency "@angular/common@>=6.0.0-beta.0 <7.0.0".
warning " > @angular/cdk@6.0.2" has unmet peer dependency "@angular/core@>=6.0.0-beta.0 <7.0.0".
warning " > @angular/cdk@6.0.2" has unmet peer dependency "@angular/common@>=6.0.0-beta.0 <7.0.0".
[4/4] π Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
ββ @angular/cdk@6.0.2
ββ @angular/material@6.0.2
info All dependencies
ββ @angular/cdk@6.0.2
ββ @angular/material@6.0.2
β¨ Done in 5.15s.
but maybe the problem is regional? π€·ββοΈ
The registry has some problems, but I have at least 10 installs of yarn fail with exit code 0:
$ ../node_modules/yarn/bin/yarn install --verbose --network-timeout 1000000 && date
yarn install v1.6.0
verbose 0.443 Checking for configuration file "/home/app/.npmrc".
verbose 0.446 Checking for configuration file "/usr/local/share/.npmrc".
verbose 0.446 Checking for configuration file "/usr/local/etc/npmrc".
verbose 0.448 Checking for configuration file "/root/.npmrc".
verbose 0.449 Checking for configuration file "/home/app/.npmrc".
verbose 0.45 Checking for configuration file "/home/.npmrc".
verbose 0.452 Checking for configuration file "/home/app/.yarnrc".
verbose 0.454 Checking for configuration file "/usr/local/share/.yarnrc".
verbose 0.455 Found configuration file "/usr/local/share/.yarnrc".
verbose 0.457 Checking for configuration file "/usr/local/etc/yarnrc".
verbose 0.458 Checking for configuration file "/root/.yarnrc".
verbose 0.459 Checking for configuration file "/home/app/.yarnrc".
verbose 0.46 Checking for configuration file "/home/.yarnrc".
verbose 0.476 current time: 2018-05-16T10:49:53.366Z
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
(... clipped ...)
[3/5] Fetching packages...
verbose 77.919 Performing "GET" request to "https://registry.yarnpkg.com/@webcomponents/webcomponentsjs/-/webcomponentsjs-1.0.22.tgz".
[############################################################################] 1431/1432Wed May 16 10:49:42 UTC 2018
You'll notice the date call at the end. Noticed first when it happened on a CI build.
@jneves that "exiting" problem has been reported in #5491 but that's another really weird one that I've never been able to reproduce. I thought it was due to a network timeout, but I've always had it correctly print a timeout error. If you can reproduce that consistently, we'd love help debugging that issue!
I'm experiencing the same problems, the status website doesn't show any issues at the moment though.
We also having this issue. Region: Germany.
Seems to be working for me now. π€
We have also some strange issues here (Germany)
We're also seeing problems, not all of them are connection related. We also see things like "https://registry.yarnpkg.com/ajv/-/ajv-6.1.1.tgz: Request failed \"500 Internal Server Error\"".
Having same issue. https://registry.yarnpkg.com/events/-/events-1.1.1.tgz returns error 500
I've just seen this error:
Fastly error: unknown domain: registry.yarnpkg.com. Please check that this domain has been added to a service.
Details: cache-lcy19237-LCY
Me too getting some fastly error.
Fastly error: unknown domain: registry.yarnpkg.com. Please check that this domain has been added to a service.
Details: cache-bma7031-BMA
Same issue in the UK here:
Fastly error: unknown domain: registry.yarnpkg.com. Please check that this domain has been added to a service.
Details: cache-lcy19244-LCY
Same in France π«π·:
error An unexpected error occurred:
"https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-3.25.1.tgz: Request failed \"500 Internal Server Error\"".
Seems to be working for me now too. :thinking:
Working again!
Same here in Tunisia :tunisia:
This can probably be closed as it seems like it was a temporary issue? Unless other people are still experiencing this.
Same! In Indonesia!
node:22293) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
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...
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...
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...
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/@angular/common/-/common-6.1.0-rc.3.tgz: ESOCKETTIMEDOUT".
@rbatllet could you reopen this? It's still happening from Hungary right now, even with npmjs.org registry. I think it's not a Yarn registry issue anymore.
error An unexpected error occurred: "https://registry.npmjs.org/@angular/common/-/common-8.2.5.tgz: unexpected end of file".
info If you think this is a bug, please open a bug report with the information provided in "/mnt/c/Users/20150/Projects/ng-test/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Edit:
I do not know if it's matter, but I use Yarn behind a corporate MITM proxy. The proxy settings (including strict-ssl = false
) configured correctly both in NPM and Yarn. However NPM can install this package without an issue while Yarn cannot. I had to run npm install
just for download this package and then use yarn
a few times for update package.lock. yarn-error.log
contained no more info about the issue.
Affected versions:
Yarn: 1.17.3 NodeJS: 12.10.0 Platform: Microsoft Windows 10 Enterprise
@hron84 open as you requested
@rbatllet thank you very much!
Closing as fixed in v2 where the timeout logic is less susceptible to this sort of issue
Arguments: /usr/local/Cellar/node/10.1.0/bin/node /usr/local/Cellar/yarn/1.6.0/libexec/bin/yarn.js
PATH: /Users/user/.sdkman/candidates/grails/current/bin:/Users/user/.sdkman/candidates/gradle/current/bin:/usr/local/opt/curl/bin:/Users/user/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/user/opt/apache-tomcat/bin:/Users/user/opt/apache-maven/bin:/Users/user/opt/android-sdk/platform-tools:/Users/user/.yarn/bin
Yarn version: 1.6.0
Node version: 10.1.0
Platform: darwin x64
Trace: Error: https://registry.yarnpkg.com/@angular/common/-/common-6.0.2.tgz: unexpected end of file at Zlib.zlibOnError [as onerror] (zlib.js:153:17)
npm manifest: { "name": "client", "version": "1.0.0", "license": "private", "scripts": { "ng": "ng", "start": "ng serve --aot --open", "build": "ng build", "buildProd": "ng build --prod --source-map", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "^6.0.0", "@angular/common": "^6.0.0", "@angular/compiler": "^6.0.0", "@angular/core": "^6.0.0", "@angular/forms": "^6.0.0", "@angular/http": "^6.0.0", "@angular/platform-browser": "^6.0.0", "@angular/platform-browser-dynamic": "^6.0.0", "@angular/router": "^6.0.0", "core-js": "^2.5.4", "lodash": "^4.17.5", "primeng": "^5.2.3", "rxjs": "^6.0.0", "rxjs-compat": "^6.1.0", "zone.js": "^0.8.26" }, "devDependencies": { "@angular-devkit/build-angular": "~0.6.1", "@angular/cli": "~6.0.1", "@angular/compiler-cli": "^6.0.0", "@angular/language-service": "^6.0.0", "@types/jasmine": "~2.8.6", "@types/jasminewd2": "~2.0.3", "@types/lodash": "^4.14.105", "@types/node": "~8.9.4", "codelyzer": "~4.2.1", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~1.7.1", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~1.4.2", "karma-jasmine": "~1.1.1", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.3.0", "ts-node": "~5.0.1", "tslint": "~5.9.1", "typescript": "~2.7.2" } }
yarn manifest: No manifest
Lockfile: No lockfile