I have followed the documentation from expo website, installed nodejs, git, watachman however im still getting errors on installation of expocli.enter image description here please find screenshot of terminal
CodePudding user response:
First make sure you are using the recommended version of nodejs, which is currently 16.13.1. For that you can use the n module :
// if you haven't istalled before
sudo npm install n -g
//to have the latest stable version
sudo n stable
Then delete all your preview installs with npm and start over. For expo-cli :
sudo npm uninstall --global expo-cli
sudo npm install --global expo-cli
