Reputation: 2097
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?
Upvotes: 3
Views: 19428
Reputation: 41
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
Upvotes: 3