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
Solution 1:
Trying to run expo start command via the integrated terminal of visual studio IDE which is by default not authorized.
In such a case, you open the CMD and run it as an administrator mode and then type expo --version in the project directory. This will work.
Solution 2:
Try running the following command in PowerShell after running as administrator mode.
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy unrestricted type A Yes to All
Now go and tried installing and then running ‘Expo’