
npm is not recognized as internal or external command SOLVED in node js
npm is not recognized as internal or external command SOLVED in node js
How to fix error ‘npm’ is not recognized as an internal or external command,
operable program or batch file in node js is shown
Content
0.48 -> hi everyone in this video i will be showing you
how to solve the error npm is not recognized as
5.92 -> an internal or external command so let's get
started so the first thing what you need to do
10.08 -> is you need to go to the folder where you have
installed node okay by default the location is
15.6 -> C program files and you will be having a folder
named as node.js all right and in case if you
22.32 -> aren't able to find this folder what you are
doing is just go to start and search for node.js
28 -> and just click open file location and you'll be
having here node.js right click it again open file
34.64 -> location you'll be getting the same folder here
as well so just come here that is the path just
40.48 -> click here and press ctrl c to copy this path
alright so after copying this particular path
46.72 -> just come to search and type
environmental variables you
49.92 -> will be getting an option called this edit the
system environmental variables just click on open
55.44 -> and here again go to environment variables and
just go to path inside system variables or user
61.84 -> variables it is your choice i will go with system
variables and just click on edit and just click on
67.92 -> new and now again just paste the path so you have
to be careful it's c program files node.js alright
75.44 -> just click on ok here as well and here as well
so once you have done it just close your command
81.28 -> prompt alright and start a fresh one so just type
cmd and hit enter and now if i type npm hyphen v
95.52 -> so this time you can see i'm getting the
version and i'm not getting that npm is
99.36 -> not recognized error so i hope you have found
this video useful mine's a programming channel
103.36 -> i have done many videos in node.js react js c c
plus plus java python sql queries as well as 3d
109.2 -> animation using blender so do check other videos
of my channel subscribe me thanks for watching
Source: https://www.youtube.com/watch?v=sFgcsr4nKok