0

npm install error

yarn install error

I keep getting errors whenever i try to download expo in the terminal globally for both npm and yarn. For yarn it installs but isn't downloaded when i check with expo --version

MarlowC
  • 33
  • 3

2 Answers2

0

Try this to install expo client globally:

npm i -g expo-cli

In order to install it locally run:

npm i expo-cli

or

yarn add expo-cli
0

It looks like you're running into permission issues. If you are installing npm-packages then it might possible that you are getting an EACCES error when trying to install a package globally. This means you do not have permission to write to the directories npm uses to store global packages and commands.

Please follow this thread:

Error: EACCES: permission denied, access '/usr/local/lib/node_modules'

Micael Illos
  • 467
  • 2
  • 15