Monika Vurigity
Monika Vurigity

Reputation: 21

Why am I unable to install expo cli?

I have followed the documentation from Expo website, installed NodeJs, git, watachmann, however I m still getting errors when installing Expo cli:

enter image description here

Upvotes: 1

Views: 1276

Answers (1)

Youssouf Oumar
Youssouf Oumar

Reputation: 45913

First, ensure you use the recommended version of nodejs. For that, you can use the n module:

// if you haven't installed it 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

Upvotes: 1

Related Questions