Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Endless loop on installing Expo CLI

I try to execute command npm start on terminal on my Mac. It prompts me to install Expo CLI , I say Y, wait until installation to finish, then I end up in an endless loop where it keeps prompting me to install Expo CLI again:

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]? 

Any ideas why I'm having this?

like image 917
Chidem S Avatar asked May 21 '26 03:05

Chidem S


1 Answers

Turns out my profile file was messed up (I had previously installed Anaconda which seems to have changed .bash_profile entries) I removed all those stuff and inserted the correct $PATH that bash should look into. That was it.

like image 180
Chidem S Avatar answered May 23 '26 00:05

Chidem S



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!