I am trying to get started with React Native development.
I have installed Node, create-react-native-app and git.
When initializing a new React Native project, I use the command sudo create-react-native-app my-first-app
, but I keep on getting the question to install expo-cli globally:
*****:dev *****$ sudo create-react-native-app my-first-app
Password:
$This command requires Expo CLI.
Do you want to install it globally [Y/n]? y
Installing the package 'expo-cli'...
Expo CLI installed. You can run `expo --help` for instructions.
This command requires Expo CLI.
Do you want to install it globally [Y/n]? y
Installing the package 'expo-cli'...
Expo CLI installed. You can run `expo --help` for instructions.
This command requires Expo CLI.
Do you want to install it globally [Y/n]? y
Installing the package 'expo-cli'...
Expo CLI installed. You can run `expo --help` for instructions.
This command requires Expo CLI.
Do you want to install it globally [Y/n]? N
This keeps on repeating...
When running expo --help
, I get -bash: expo: command not found
, even after installing expo-cli manually.
Anybody an idea what could help resolving this issue?
System information:
MacOS 10.14.4
Node v10.15.3
npm 6.4.1