You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question:
I recently installed Node.js from the official Node.js website. However, when I try to check the version of npm or perform any npm-related operations, I encounter the following error:
CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-prefix.js" is not recognized as an internal or external command, operable program or batch file.
Minimal Reproduction
Installed node.js from official website using windows installer.
Tried to check version of npm.
Output
Before You Submit
I have looked for issues that already exist before submitting this
Node.js Version
v22.13.0
NPM Version
10.9.2
Operating System
Windows 11
Subsystem
Other
Description
Question:
I recently installed Node.js from the official Node.js website. However, when I try to check the version of npm or perform any npm-related operations, I encounter the following error:
CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-prefix.js" is not recognized as an internal or external command, operable program or batch file.
Minimal Reproduction
Output
Before You Submit
The text was updated successfully, but these errors were encountered: