Cannot upgrade to expo-cli version 4.12.0 from 4.0.17. The npm install does not work.

I currently have expo 4.0.17 installed on my Mac. When I am starting a new project by invoking command "expo init ", it informs me that a newer version 4.12.0 is available for expo-cli. However, when I install the new version using “sudo npm install -g expo-cli”, it seems everything has worked, but when I check the version of the expo by issuing command “expo --version”, it is still stuck on the old version. Please guide as to how can I upgrade to the latest version of the expo-cli. Many thanks!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.