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

Failing Node.js v17 NPM installations on ppc64le #3

Open
achrinza opened this issue Nov 21, 2021 · 2 comments
Open

Failing Node.js v17 NPM installations on ppc64le #3

achrinza opened this issue Nov 21, 2021 · 2 comments

Comments

@achrinza
Copy link
Member

achrinza commented Nov 21, 2021

It was found in a few PRs that NPM installations on Node.js v17, ppc64le Travis CI pipelines were consistently failing with the same error. Switching between Ubuntu 16.04 and 18.04, nor did re-running the build at a later time resolve the issue.

Problematic PRs:

Error snippet
$ NODEJS_VERSION=$(node --version)
  if [ 'v10' = ${NODEJS_VERSION%%.*} ]
  then
    npm install --global npm@7
  else
    npm install --global npm@8
  fi
  
npm ERR! code ENETUNREACH
npm ERR! syscall connect
npm ERR! errno ENETUNREACH
npm ERR! request to https://registry.npmjs.org/npm failed, reason: connect ENETUNREACH 2606:4700::6810:1323:443
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2021-11-21T04_50_26_698Z-debug.log
The command "NODEJS_VERSION=$(node --version)
  if [ 'v10' = ${NODEJS_VERSION%%.*} ]
  then
    npm install --global npm@7
  else
    npm install --global npm@8
  fi
  " failed and exited with 1 during .
Your build has been stopped.
@achrinza
Copy link
Member Author

After further testing, it was confirmed that it affects "Travis CI + Node.js v17 + ppc64le", regardless of which NPM version is used.

See: https://app.travis-ci.com/github/achrinza/nodejs-ci-test/builds/243299904

@achrinza
Copy link
Member Author

loopbackio/loopback-next#8302 (comment) brought up that Node.js v17 changed the OpenSSL provider. Something to test out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant