Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
We have a number of overnight builds that run to build node functionality. Our container began failing late last week and it was determined that the "npm install -g npm@next" command was the issue.
Container build is performed via standard "docker build" command.
Build output indicates the following:
#6 8.588 Run npm audit
for details.
#6 8.589 npm notice
#6 8.589 npm notice New major version of npm available! 7.24.0 -> 8.0.0
#6 8.589 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.0.0
#6 8.589 npm notice Run npm install -g npm@8.0.0
to update!
#6 8.589 npm notice
#6 9.176 npm ERR! code ETARGET
#6 9.181 npm ERR! notarget No matching version found for npm@next.
#6 9.181 npm ERR! notarget In most cases you or one of your dependencies are requesting
#6 9.181 npm ERR! notarget a package version that doesn't exist.
How do we fix this issue?
Expected Behavior
Container builds successfully.
Steps To Reproduce
- In this environment...
- With this config...
- Run '...'
- See error...
Environment
- OS: ubuntu 18.04 container image
- Node: v16.10.0
- npm: next?