Closed
Description
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?
$docker run --rm -it node:20 /bin/bash
root@4f5c14380cd5:/# npm --version
10.1.0
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
Metadata
Metadata
Assignees
Labels
No labels