Fix error “Cannot load file C:\Users\user\AppData\Roaming\npm\expo.ps1 because scripting is disabled on this system.”

Tiempo de lectura: < 1 minutoReading time: < 1 minute To solve the error “Cannot load file C:\Users\user\AppData\Roaming\npm\expo.ps1 because running scripts is disabled on this system.” First, run PowerShell as administrator (right-click, run as administrator): Once it’s open, type: Set-ExecutionPolicy Unrestricted Now, accept: And it will allow us to execute:








