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
Platform: Darwin mgolebiowski-mac 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64 i386 MacBookPro15,1 Darwin
Subsystem:
Under Node.js 13.0.0, running many commands using the included npm version (6.12.0) results in the message:
npm WARN npm npm does not support Node.js v13.0.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12.
npm WARN npm You can find the latest version at https://nodejs.org/
I can understand some npm versions not supporting a newly released Node.js version but the version that's bundled with Node shouldn't print such messages.
Reacted by Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి), Luke Ramus, Berserk, Wolfgang Degreif, Muhaddatha, Simeon Bensona, Furkan and Jake Spradling
@nodejs/releasers Might it make sense to float the patch in npm/cli#269 on core and push out a 13.0.1 quickly? I'm guessing that would be a ton of work that no one has the time for today or even this week, but asking anyway in case I'm wrong....
The workaround is to ignore the warning. It is not an error and you can still use npm until we release a fix.
Reacted by Jordan Harband, Aniket Tamhane, helb, KhoPhi, Cyrus Frost, Remzi Çavdar, Mustafa Hayati, Javier Moreno López, Ivan Bogdan, Neetika M and 12 more
On 10/23/19, Michaël Zasso ***@***.***> wrote:
The workaround is to ignore the warning. It is not an error and you can
still use npm until we release a fix.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#30066 (comment)
$ uname -a
Darwin cpf 19.0.0 Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 x86_64
$ npm -v
6.13.2
$ node -v
v13.2.0
getting warning in this setup
There are lots of warnings you could be getting, but you are all-but-certainly not getting the warning reported in this issue if you are really running npm 6.13.2. This bug was fixed in 6.12.1. If you are seeing this, then you are running npm 6.12.0 or earlier.
$ uname -a
Darwin cpf 19.0.0 Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 x86_64
$ npm -v
6.13.2
$ node -v
v13.2.0
getting warning in this setup
There are lots of warnings you could be getting, but you are all-but-certainly not getting the warning reported in this issue if you are really running npm 6.13.2. This bug was fixed in 6.12.1. If you are seeing this, then you are running npm 6.12.0 or earlier.
Just tried this, when installing something, getting warning saying that "npm does not support Node.js v13.2.0"
# pfcui @ cpf in ~ [15:34:21]
$ node -v
v13.2.0
# pfcui @ cpf in ~ [15:43:05]
$ npm -v
6.13.2
# pfcui @ cpf in ~ [15:43:07]
$ npm install -g expo-cli
npm WARN npm npm does not support Node.js v13.2.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
The fact that it says that 9 is the highest supported version--not mentioning 10 or 12, much less 13--indicates that it is a very old version of npm. Whatever is going on here, it's something weird. I mean, like someone bumped the version of npm only but not the actual code otherwise and compiled it and installed it. Or you're running an otherwise weirdly-hacked npm. I mean, I'm not saying that's it. I'm just saying, something weird is going on.
Activity
mgol commentedon Oct 22, 2019
I installed Node using nvm if that matters:
Trott commentedon Oct 22, 2019
Yeah, @ljharb and others are on the case: npm/cli#269
Once there's an
npmrelease, updatingnpmwill fix it.I'm guessing once there's an
npmrelease, we'll see a Node.js 13.0.1 or 13.1.0 pretty quickly to bundle the new npm.Trott commentedon Oct 22, 2019
@nodejs/releasers Might it make sense to float the patch in npm/cli#269 on core and push out a 13.0.1 quickly? I'm guessing that would be a ton of work that no one has the time for today or even this week, but asking anyway in case I'm wrong....
ljharb commentedon Oct 22, 2019
If npm can merge and release that fix ASAP, i can get the node PR up shortly afterwards
realJustinLee commentedon Oct 23, 2019
Same issue encountered. Looking forward to the patch.
akash07k commentedon Oct 23, 2019
Same here, uninstalled and reinstall node and NPM but no luck. :(
tamhaneaniket commentedon Oct 23, 2019
Having the same issue....Is there a workaround available?
targos commentedon Oct 23, 2019
The workaround is to ignore the warning. It is not an error and you can still use npm until we release a fix.
deps: npm: patch support for 13.x
deps: npm: patch support for 13.x
akash07k commentedon Oct 23, 2019
25 remaining items
Trott commentedon Dec 5, 2019
There are lots of warnings you could be getting, but you are all-but-certainly not getting the warning reported in this issue if you are really running npm 6.13.2. This bug was fixed in 6.12.1. If you are seeing this, then you are running npm 6.12.0 or earlier.
cuipengfei commentedon Dec 5, 2019
Just tried this, when installing something, getting warning saying that "npm does not support Node.js v13.2.0"
ljharb commentedon Dec 5, 2019
what does which node and which npm say?
cuipengfei commentedon Dec 5, 2019
/usr/local/bin/node
/usr/local/bin/npm
Trott commentedon Dec 5, 2019
The fact that it says that
9is the highest supported version--not mentioning 10 or 12, much less 13--indicates that it is a very old version ofnpm. Whatever is going on here, it's something weird. I mean, like someone bumped the version ofnpmonly but not the actual code otherwise and compiled it and installed it. Or you're running an otherwise weirdly-hackednpm. I mean, I'm not saying that's it. I'm just saying, something weird is going on.What's the output of these commands?:
Trott commentedon Dec 5, 2019
Oh! Maybe somehow
npmis using a differentnodethan your command line. What does this say?Trott commentedon Dec 5, 2019
And while we're at it, let's just be complete-ish:
How did you install Node.js? With the default installer? Or a version manager? Or what?
cuipengfei commentedon Dec 6, 2019
It was installed via brew.
I have done brew uninstall and reinstalled the LTS version, which have damaged the crime scene, however it seems to be fine now. No warnings anymore.
FJBDev commentedon Dec 27, 2019
Encountered this issue today when I tried to install the latest version 13.5.0
After several hours of searching and testing/rebooting/uninstalling..etc This is what fixed it to me
jufemaiz commentedon Dec 29, 2019
@FJBDev i'm seeing the same on a node:13-alpine image.
amerikan commentedon Jan 3, 2020
ljharb commentedon Jan 3, 2020
node 13.5 comes with npm 6.13.4, so there's something wrong with your node installation there.
eyalk5 commentedon Jan 30, 2020
I get :
npm does not support Node.js v13.6.0Trott commentedon Jan 30, 2020
Then you're running a version of npm that didn't ship with the 13.6.0 binary.
Trott commentedon Jan 30, 2020
Might be fixed if you run
npm install -g npmbut probably better to figure out why a differentnpmgot in your path.