Replies: 2 comments
-
Can you run How did you install Node.js? Can you check if it's in the path? If it's not, then |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version
[email protected]
Platform
Microsoft Windows NT 10.0.19042.0 x64
Subsystem
npm
What steps will reproduce the bug?
I have tried with two different versions of node: 18.15.0 and 16.20.0 with the exact same results.
Executing any npm command always throws the same error:
'CALL "C:\nodejs\\node.exe" "C:\nodejs\\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file.
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
No error at all.
(I suppose there's no need to explain why an errorless behavior is expected)
What do you see instead?
This is one example when using
npm
, any usage ofnpm
throws the same error:Additional information
System Info
Node.js
C:\nodejs
C:\Program Files\nodejs
c:\nodejs
orC:\Program Files\nodejs
)nvm
(for Windows) is not installed, neither used to do the installs (and yes, I do know aboutnvm
but I'm not using it in this project).User
Beta Was this translation helpful? Give feedback.
All reactions