For example when you run Sails command in command promp ok but can't run in Powershell or Visual studio code the error message like that
"sails.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."
Just flow some step bellow to fix this issue
Windows + R search -- powershell and run as Administrator
Step 2: copy this command Set-ExecutionPolicy RemoteSigned and hit Enter
"sails.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."
Just flow some step bellow to fix this issue
Windows + R search -- powershell and run as Administrator
Step 2: copy this command Set-ExecutionPolicy RemoteSigned and hit Enter
Enter Y and now you can run Sails command.
Không có nhận xét nào:
Đăng nhận xét