-
Notifications
You must be signed in to change notification settings - Fork 298
Closed as not planned
Description
Node.js Version
22.20
NPM Version
11.6.2
Operating System
Windows 11
Subsystem
console
Description
in CMD or powershell, I type:
node -v
v22.20
when I type:
npm -v
I get:
npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For
more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ npm -v
+ ~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
To get the npm version I have to type:
npm.cmd -v
v11.6.2
Minimal Reproduction
No response
Output
No response
Before You Submit
- I have looked for issues that already exist before submitting this
- My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask
Metadata
Metadata
Assignees
Labels
No labels