TRISHVAR

Feb 10, 2025

npm npm.ps1 cannot be loaded because running scripts is disabled on this system

 npm npm.ps1 cannot be loaded because running scripts is disabled on this system




Description : -
In this video I will tell you how to solve this problem if no package is installed from npm.
Even if we set the environment element variable in npm, this problem is not solved,
but we will solve this problem with the help of few commands.

first command -
set-ExecutionPolicy RemoteSigned -Scope CurrentUser

second command -
Get-ExecutionPolicy

third command -
Get-ExecutionPolicy -list

after all commands run then solve this problem

No comments:

Post a Comment