-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
24 packages are looking for funding and npm WARN cli npm v10.3.0 does not support Node.js v18.16.1. #7164
Comments
npm config ls -l ✔ at 15:10:15 _auth = (protected) ; "user" config from /data/data/com.termux/files/home/.npmrc foreground-scripts = true ; "cli" config from command line options long = true |
This is not an npm bug. The engines field is working as intended to let you know that npm 10 is likely to include features that don't work in your version of node. Either use the version of npm that came with the version of node you are using, or update your node version. |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Here is a pastebin of my shell inputs and outputs:
https://pastebin.com/djsC71Fv
Expected Behavior
Well, I didn't expect to get the warning and error output. I think I need a version manager,mso I can run multiple versions in Termux on my Android system.
Steps To Reproduce
Please refer Pastebin linkage.
Environment
npm WARN cli npm v10.3.0 does not support Node.js v20.2.0. This version of npm supports the following node versions:
^18.17.0 || >=20.5.0
. You can find the latest version at https://nodejs.org/.10.3.0
^18.17.0 || >=20.5.0
. You can find the latest version at https://nodejs.org/.; "user" config from /data/data/com.termux/files/home/.npmrc
foreground-scripts = true
; node bin location = /data/data/com.termux/files/usr/bin/node
; node version = v20.2.0
; npm local prefix = /data/data/com.termux/files/home
; npm version = 10.3.0
; cwd = /data/data/com.termux/files/home
; HOME = /data/data/com.termux/files/home
; Run
npm config ls -l
to show all defaults.; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered: