Problem Running npm Commands
Hey folks,
I'm having trouble running npm commands in my development environment and could use some help from more experienced members who may have encountered similar situations.
Problem Description:
When trying to run commands like npm -v or npm install -g @/angular/cli, I'm getting an error message in this format:
'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal
or external command, operable program, or batch file.
Steps I've Tried:
Uninstalled and reinstalled Node.js.
Cleared npm cache.
Set up and reconfigured environment variables.
Thanks in advance for any guidance or suggestions to resolve this issue.
Appreciate it!
2 Replies
might be better to ask on a $js server