Hi
Yes, that’s what I meant when I said:
This is not actually a problem with Expo, but rather with where npm is installing it and/or how Bash is reading (or not) its startup files. (I know that doesn’t really help you, but technically it’s not something that Expo has any control over.)
One way around it would be to do this:
Edit /etc/paths
and on the first line, above /usr/local/bin
, put in just the path to the directory where the expo binary is located. e.g. /Users/<your-username>/.npm-global/bin
Then try closing and re-opening your terminal. Then echo $PATH
should show the path to the npm bin directory before /usr/local/bin and Bash should be able to find the right expo
command. If it doesn’t work, try a reboot.