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
CodePudding user response:
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
CodePudding user response:
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'