NPM install issue npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded

Опубликовано: 13 Октябрь 2024
на канале: IFASTEK TV
1,203
8

npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system.
When PowerShell's execution policy is set to restrict the running of scripts
Open Power shell as admin by pressing windows + x
then run this: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
press Y when prompted