-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] npm install of npm@next failing during container build (No matching version found for npm@next) #3876
Comments
usually |
@ljharb That's what I was thinking also. We definitely need to know what happened to that tag. |
@vguaglione in the meantime, you could just swap it to |
@ljharb Yes, I have done that already, however, have been told that some of our user base requires that tag for their specific implementations. I'd like to know when the tag will be made available again, and if not, a recommendation for a permanent fix. |
Hopefully the CLI team can weigh in; if they aren't willing to restore the tag, though, the permanent fix could only be "switch to |
The The The |
npm/documentation#43 (comment):
|
@lukekarrys We have gone ahead and replaced npm@next with npm@7 to ensure compatibility with our user's components. I appreciate the detailed explanation. |
@vguaglione That sounds like a good short term plan since that should be exactly what |
npm no longer uses the next tag; see npm/cli#3876 (comment)
npm no longer uses the next tag; see npm/cli#3876 (comment)
Is there an existing issue for this?
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
Environment
The text was updated successfully, but these errors were encountered: