

i have installed nodejs from nodejs website.
when i typed
node -v
It gives me the version as
6.11.2
But when i type
npm -v it doesnt gives me any results. I have done reinstalling nodejs several times.
my installation path is
C:\Program Files\nodejs
any help?

Run command where npm in node.js cmd, you will get path where it referring.
Remove npm folder from C:\Users\dname\AppData\Roaming\npm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With