Hello, today we are going to solve the EAS execution error:
Code:
eas : Cannot load file C:\Users\user\AppData\Roaming\npm\eas.ps1. The file C:\user\ismae\AppData\Roaming\npm\eas.ps1 is not digitally signed. You cannot run this script on the current system. For more information about script execution and execution policy configuration, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + eas build --profile development --platform android + ~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
This error occurs when running an EAS command without permission throughout the system. To solve it, simply execute the following command in the console:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
And you will be able to execute EAS commands.