Digamber negi
Digamber negi

Reputation: 469

How to setup very first React Native app with expo

I've tried commands:

npm i -g expo-cli
expo init uber

The error: enter image description here

Upvotes: 1

Views: 87

Answers (1)

Dobromir Kirov
Dobromir Kirov

Reputation: 1042

You have two options:

  • Switch to cmd
    or

  • Run this command

    Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

This command is going to work untill you close the PS, if you reopen it, you should pass it again, there is a very big thread for this, take a look:
ps1 cannot be loaded because running scripts is disabled on this system

Upvotes: 1

Related Questions