Closed TheB3rX closed 2 weeks ago
22.0.0
Microsoft Windows NT 10.0.22631.0 x64
No response
Install NodeJS 22.0.0 Via winget or official installer, node -v works like a charm but npm -v shows code 'MODULE_NOT_FOUND'
Bug only happens on Powershell or Windows Powershell, CMD works fine with npm -v
Using npm shoud be possible, not MODULE_NOT_FOUND
Duplicate of https://github.com/nodejs/node/issues/52682
Version
22.0.0
Platform
Microsoft Windows NT 10.0.22631.0 x64
Subsystem
No response
What steps will reproduce the bug?
Install NodeJS 22.0.0 Via winget or official installer, node -v works like a charm but npm -v shows code 'MODULE_NOT_FOUND'
How often does it reproduce? Is there a required condition?
Bug only happens on Powershell or Windows Powershell, CMD works fine with npm -v
What is the expected behavior? Why is that the expected behavior?
Using npm shoud be possible, not MODULE_NOT_FOUND
What do you see instead?
Additional information
No response