
How to fix "npm.ps1 cannot be loaded because running scripts is disabled on this system"
You installed Node.js with the Windows installer, and sucessufully ran node -v in your Terminal. However, when you try to run npm -v, you get the error: npm : File C:\Program Files\nodejs\npm.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. It doesn’t mean that installation failed. You can try these approaches to check your installation: Run npm.cmd -v instad of npm -v in your Terminal. ...