I followed the steps on expo to first download node 11.6. Right after that I tried installing the expo client by entering ‘npm install expo-cli --global’ into my terminal. Unfortunately, I’ve been getting permissions issues and the installation is unsuccessful every time. The error I get is:
m ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ganesh/.npm/_logs/2019-01-08T01_36_09_169Z-debug.log
I went to the node_modules folder and changed the permissions to ‘read and write’ for myself, admin. But it still seems to fail installation. How do I fix this? Thank you in advance!