Node version: v13.1.0
Operating system: MacOS
I tried updating expo sdk from 35 to 37.
I removed:
rm -rf /usr/local/bin/expo
rm -rf /usr/local/bin/expo-cli
Then tried to update expo-cli version before upgrading:
yarn global add expo-cli
success Installed “expo-cli@3.21.5” with binaries:
- expo
- expo-cli
Done in 5.99s.
When I try checking expo version I get:
expo -v
bash: /usr/local/bin/expo: No such file or directory
yarn global bin gives me:
/usr/local/opt/nvm/versions/node/v8.16.0/bin
Even though nvm is deleted in my mac long ago and looks like yarn global add adds expo-cli and expo to this path.
my-mac$ echo $PATH
/usr/local/opt/nvm/versions/node/v8.16.0/lib/node_modules/@angular/cli/bin/ng:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Postgres.app/Contents/Versions/latest/bin:/usr/local/opt/nvm/versions/node/v8.16.0/lib/node_modules/@angular/cli/bin/ng