Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm WARN npm npm does not support Node.js v14.6.0

Tags:

so i was taking an online course with codewithmosh.com and he told me to revert to an old version of npm so that his class would make sense. so i reverted to npm v 5.5.1. apparently this was so old of a version that it no longer is usable for npm at all. when i try to install the latest version of npm it tells me this:

npm WARN npm npm does not support Node.js v14.6.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. npm WARN npm You can find the latest version at https://nodejs.org/

my node version is the absoulte latest version of node. but it still tells me that it does not support it. if i try to run npm at all it gives me the same message. i've uninstalled nodejs and deleted all associated packages and files including npm TWICE. and it still reverts back to the same v.5.5.1 and gives me the same message everytime. can anyone help me with this? my hope is i'm just an idiot. but only time will tell. please tell me i'm an idiot and how to fix this!!

like image 461
Chaz Cathcart Avatar asked Jul 22 '20 19:07

Chaz Cathcart


1 Answers

Cut and paste from another thread:

  • delete these two folders from appdata/roaming: "npm" and "npm-cache".

(Type %AppData% into the address bar and hit enter to locate)

  • repair Node

Worked for me just now

like image 78
Mat Kay Avatar answered Sep 30 '22 20:09

Mat Kay