./node_modules/.bin/cypress : File D:\Projects\Morrisser\node_modules\.bin\cypress.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ ./node_modules/.bin/cypress open
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
Cypress is not running. I am getting this error how to solve it?
Share
Try this command in your PowerShell:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted