Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

190
Views
Application installed by NPM (eg File C:\Users\name\AppData\Roaming\npm\ng.ps1) cannot be loaded because running scripts is disabled on this system

When running commands installed by npm (i.e. yarn, ng, etc.), I receive the following error:

File C:\Users\<username>\AppData\Roaming\npm\<application> cannot be loaded because running scripts is disabled on this system.

where <application> is one of the commands installed by npm (i.e. yarn, ng, etc.)

How can this issue be resolved?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I just try this command in VS terminal(PowerShell) and my problem has been solved

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser

note : don't change CurrentUser to your username
edit : you can follow this link for changing the visual studio code terminal to cmd.exe instead of PowerShell and it will work without any security issues. https://blog.jongallant.com/2017/02/vs-code-integrated-terminal-powershell-default-change-to-cmd/

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!