angular-redux/store

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

shaileshsutar88 opened this issue · 1 comments

This is a...

  • feature request
  • bug report
  • usage question

What toolchain are you using for transpilation/bundling?

  • [* ] @angular/cli
  • Custom @ngTools/webpack
  • Raw ngc
  • SystemJS
  • Rollup
  • Other

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.

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