-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
New LTS 20.9.0 uses npm 10.1.0 which has issues with proxy config #50376
Comments
lscorcia
changed the title
New LTS 20 uses npm 10.1.0 which has issues with proxy config
New LTS 20.9.0 uses npm 10.1.0 which has issues with proxy config
Oct 24, 2023
@nodejs/npm |
There is already a PR to update in main here - #50258 |
Main already uses npm 10.2.0 which fixes the proxy problem. This issue is about the 20.9.0 release. npm >= 10.2.x should be backported in the 20.9.x LTS release line. |
alexmurray
added a commit
to alexmurray/pyright-snap
that referenced
this issue
Nov 1, 2023
This reverts commit 2e0d58f since npm is broken behind proxies nodejs/node#50376 and so pyright fails to build on Launchpad.
alexmurray
added a commit
to alexmurray/copilot-client-snap
that referenced
this issue
Nov 1, 2023
This reverts commit 03a0cd2 since npm is broken behind proxies nodejs/node#50376 and so copilot-client fails to build on Launchpad.
alexmurray
added a commit
to alexmurray/typescript-language-server-snap
that referenced
this issue
Nov 1, 2023
This reverts commit 33eb19c since npm is broken behind proxies nodejs/node#50376 and so typescript-language-server fails to build on Launchpad.
node v20.10.0 was released with npm v10.2.3. |
I can confirm the issue is solved by updating to the latest LTS. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v20.8.1
Platform
Linux 4f5c14380cd5 5.4.0-165-generic #182-Ubuntu SMP Mon Oct 2 19:43:28 UTC 2023 x86_64 GNU/Linux
Subsystem
npm
What steps will reproduce the bug?
Also see https://github.com/nodejs/node/tree/v20.9.0/deps . The latest commit for npm clearly states that npm 10.1.0 is used.
How often does it reproduce? Is there a required condition?
100% reproducible
What is the expected behavior? Why is that the expected behavior?
npm 10.1.0 is affected by regression npm/cli#6835 , already fixed in npm 10.2.0. We use only node LTS for our CI/CD pipelines. Also, our company requires a proxy to access all external resources. Since LTS switched from 18 to 20, all builds fail. Node LTS v20 should ship with a working version of npm.
What do you see instead?
Node LTS v20 ships with a broken npm package. Since it does not pick up the proxy settings, we can't even update it inside the container as it does not reach the registry.
Additional information
No response
The text was updated successfully, but these errors were encountered: