You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/code # npm install -g npm
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: npm@11.0.0
npm ERR! notsup Not compatible with your version of node/npm: npm@11.0.0
npm ERR! notsup Required: {"node":"^20.17.0 || >=22.9.0"}
npm ERR! notsup Actual: {"npm":"10.5.0","node":"v20.12.2"}
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-12-17T15_14_02_415Z-debug-0.log
/code # npm install -g npm
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: npm@11.0.0
npm ERR! notsup Not compatible with your version of node/npm: npm@11.0.0
npm ERR! notsup Required: {"node":"^20.17.0 || >=22.9.0"}
npm ERR! notsup Actual: {"npm":"10.5.0","node":"v20.12.2"}
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-12-17T15_14_02_415Z-debug-0.log
Environment
npm: 11.0.0
Node.js: 20.12.2
OS Name: Docker alpine
System Model Name:
npm config:
; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Running
npm install -g npm
insidenode:20.12.2-alpine3.19
docker container.The package page https://www.npmjs.com/package/npm says following node versions should work
Tried it on
node:20.17.0-alpine3.19
docker container and it worked.Expected Behavior
As per the package page, npm 11.0.0 should install on node 20.12.2
Steps To Reproduce
Running
npm install -g npm
insidenode:20.12.2-alpine3.19
docker container.Environment
; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered: