Windows 10 and Grunt Execution Policies problem fix

In Windows 10 operation system can appear in command line with Grunt problem, you can’t perform task because of error code below:

grunt 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.Code language: Bash (bash)

To solve this problem you need to open Windows PowerShell (be sure that you will open it in administrator rights, watch how to do in here).

Next type in this command line next code:

Set-ExecutionPolicy UnrestrictedCode language: Bash (bash)

After this should Grunt again work as normal

UPDATE: same way it is achievable also in Windows 11

Leave a comment

Your email address will not be published. Required fields are marked *