Expo.ps1 cannot be loaded because running scripts is disabled on this system (Solution)
Osman Forhad
Posted on February 11, 2021
So, if you see this error don’t worry stay cool you can solve this by following this step
.
Step 1: Open Windows PowerShell with Run as Administrator
.
Step 2: use (Get-ExecutionPolicy) this command on Windows PowerShell to see the execution policy
.
Most probably there you would see (Restricted) this command. So, the main reason-running scripts on this system are Restricted.
.
Step 3: Now we need to change this policy to allow the operation. Use this command to make it Unrestricted
.
Use (Set-ExecutionPolicy Unrestricted) this command
.
here you will get a prompt message and you should press 'Y' to change from Restricted to Unrestricted.
That’s it.
.
To ensure, you may check the execution policy by this
(Get-ExecutionPolicy) command again.
The possible output should be (Unrestricted)
.
The problem is solved. Now you can use the expo start command on your machine.
.
Happy Coding.
osman forhad
Mobile & Web Application Developer💻
developer.osmanforhad@gmail.com
Posted on February 11, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.