
npm does not support Node.js v SOLVED | You should probably upgrade to a newer version of node
npm does not support Node.js v SOLVED | You should probably upgrade to a newer version of node
How to solve npm does not support Node.js v16.10.0 You should probably upgrade to a newer version of node as we npm ERR! cb.apply is not a function is shown
Content
0.48 -> hi everyone in this video I will be showing
you how to solve the error npm does not support
6.18 -> node.js your node.js version you should probably
upgrade to a newer version of node so I'm getting
11.58 -> this error when I try to update my npm version so
as you can see here I'm just trying to update my
16.32 -> npm using this command but I'm getting this error
so let me show you how to solve this error alright
21.48 -> so just minimize this command prompt or you can
just close it all right and you need to go to
26.22 -> this PC local disk C users your username alright
so for me it is this number so I'll just click it
34.2 -> and here you will be having this app data I think
it will be hidden for some people so you have to
39.84 -> go to view and just check this alright check
this hidden item so that your hidden folders
45.54 -> or files are visible so just check this and you'll
be having this app data over here so just click it
52.44 -> and then you are going to roaming and then you'll
be having this npm and npm hyphen cache folders
61.02 -> so basically you need to just select both of
these folders and just delete them alright
68.76 -> so once both the folders are deleted again just
open command prompt all right so just go to
73.56 -> search and type CMD let me just now zoom this all
right so I will just now again type the command
81.48 -> to update npm or you can just type the command
whatever you want to do with npm so for me I
87.06 -> need to update it so it's going to be npm update
hyphen g again npm and if I just now hit enter
99.48 -> so this time you can see I'm not
getting that error or something
102.66 -> like that it's working perfectly fine and if I
105.18 -> just now paste the command to update npm
to the latest version and just hit enter
113.22 -> so as you can see here I'm able to like download
and install the latest version as well you can
118.62 -> see the download has started and I'm not getting
any such errors as I got in the past so I hope you
125.34 -> would have solved your issues as well seeing this
video and I hope you have found this video useful
129.24 -> mine is a programming Channel by the way I have
done many videos in C C plus plus Java python
134.34 -> node.js mongodb MySQL so do check other videos
of my channel subscribe me thanks for watching
Source: https://www.youtube.com/watch?v=LFjhJoW9Te4