there are a lot of people here asking the same question and I tried almost all the answers but nothing worked for me ..
The problem is , I can't run any npm command, I installed node js from the windows installer here , and when I write any npm command for example: "npm install" or "npm start" nothing happens, I tried reinstalling and removing paths from environment variables but no luck..
I also tried Upgrading npm on Windows from this link , when I write this command
npm install --global --production npm-windows-upgrade
nothing happens , just like any other npm commands.. I tried also fixing this issue by what was written in the same page here but no luck also :(
What seems to be the problem guys ? thank you so much
Those are the paths that I have in environment variables now:
user variables path: C:\Users\{username}\AppData\Roaming\npm
system variables path: C:\Program Files\nodejs\