I'm new to expo-cli and keep running into this on the terminal
expo init myproject
-bash: expo: command not found
First, I tried uninstall and installing via
sudo npm uninstall -g expo-cli && sudo npm i -g expo-cli
+ expo-cli@2.6.14
Second, I checked nodejs to see what version it was running on:
node -v
v10.15.0
npm -v
6.4.1
Third, I tried to see if it was an environment issue and adding a path via:
sudo vim ~/.bash_profile
inserting the following to the end:
# NPM global installs
export PATH=$PATH:~/.npm-global/bin
Did not solve the issue.