I’m encountering an issue with npm on my Windows machine. When I run npm –version in the command line, I get the following output:
C:Usersnares>npm –version
‘CALL “C:Program Filesnodejsnode.exe” “C:Program Filesnodejsnode_modulesnpmbinnpm-prefix.js”‘ is not recognized as an internal or external command,
operable program or batch file.
10.8.2
Reinstalling Node.js and npm multiple times.
Checking the PATH environment variable to ensure it includes the paths to Node.js and npm.
Running the command prompt as an administrator.
Clearing the npm cache with npm cache clean –force
Has anyone encountered this issue before? Any advice or solutions would be greatly appreciated.
Thank you!