I am trying to develop a react native project in my Windows 10 machine. I installed node js then expo cli via visual studio code terminal. Then I tried the command exp
Step 1: You need to open your power shell or command line with ‘Run as Administrator’ by right-clicking on its icon.
Step 2: You need to type in the following command:
Set-ExecutionPolicy RemoteSigned
refer
Step 3: You will see the following message and permission request. Type ‘a’ and enter
refer
Solution 2:
Try running the following command in PowerShell after running as administrator.
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy unrestricted
Now go and tried installing and then running ‘Expo’