- 1
Got security error on windows with nest command
Got this error in windows PowerShell: > nest new cars nest : File C:\Users\xxxxxxxxx\AppData\Roaming\npm\nest.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 + nest new cars + ~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException
1 Answer
0
googled and found a quick solution:
execute
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
before running the nest new cars command.
Source: https://www.petenetlive.com/KB/Article/0001417