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
Asked
Active
Viewed 142 times
2 Answers
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

Ahmad Sidani
- 11
- 3
-
1I tried it. But unfortunately I keep getting the the same error. But thanks for the help. – MarlowC Sep 30 '21 at 16:55
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