Permissions Issue


#1

Hello,

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!

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!

Sincerely,
Ganesh Chendica


#2

try running the install with sudo instead, ie

sudo npm install expo-cli --global


closed #3

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.