Powershell Errors
File C:\Users\mark\AppData\Roaming\npm\ng.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
Steps to fix
In powershell execute the following commands
- Get-ExecutionPolicy -List
- Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
References
- https://www.addictivetips.com/windows-tips/fix-running-scripts-is-disabled-on-this-system-powershell-on-windows-10/#:~:text=That%20said%2C%20scripts%20can%20be%20dangerous%20which%20is,scripts%20from%20running%20and%20potentially%20harming%20the%20system. - How to fix “running scripts is disabled on this system” in PowerShell on Windows 10 (addictivetips.com)