angular-redux / store

Angular 2+ bindings for Redux
MIT License
1.34k stars 205 forks source link

An unexpected error occurred: "https://registry.yarnpkg.com/@angular-redux%2fstore: read ETIMEDOUT" #567

Closed shaileshsutar88 closed 3 years ago

shaileshsutar88 commented 3 years ago

This is a...

What toolchain are you using for transpilation/bundling?

Environment

NodeJS Version: 10.16.0 Typescript Version: 3.5.3 Angular Version: 8.2.2 @angular-redux/store version: 10.0.0 @angular/cli version: (if applicable) 8.3.17 OS: node docker container

Link to repo showing the issus

(optional, but helps a lot) Can't share the link here since it is private repo.

Expected Behaviour:

Should install all the dependencies and build the web application. RUN yarn config set network-timeout 600000 \ && yarn install --pure-lockfile

Actual Behaviour:

RUN yarn config set network-timeout 600000 \ && yarn install --pure-lockfile

errors out with message error An unexpected error occurred: "https://registry.yarnpkg.com/@angular-redux%2fstore: read ETIMEDOUT". 12:38:05

Stack Trace/Error Message:

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. error An unexpected error occurred: "https://registry.yarnpkg.com/@angular-redux%2fstore: read ETIMEDOUT". Could not build image: The command '/bin/sh -c yarn config set network-timeout 600000 && yarn install --pure-lockfile && cat /app/yarn-error.log' returned a non-zero code: 1 Skipping cleanup. Docker engine: context disposing Provenance proxy: no docker session activity registered Provenance proxy: docker session closed

Additional Notes:

(optional) Unable to check the /app/yarn-error.log since docker container in CICD pipeline is getting discarded after docker step failure.

shaileshsutar88 commented 3 years ago

Closing this issue as it turned out that the npm internal registry information was missing.