Hello. It looks like I have a permissions issue while trying to install the Expo command line tool. Anyone know how to solve this? I’m on a Mac.
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
npm ERR! [Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’] {
npm ERR! stack: “Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’”,
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘access’,
npm ERR! path: ‘/usr/local/lib/node_modules’
npm ERR! }
npm ERR! The operation was rejected by your operating system. 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 permissions of the file and its containing directories, or try running the command again as root/Administrator (though this is not recommended). A complete log of this run can be found in:
npm ERR! /Users/userName/.npm/_logs/2019-05-26T04_05_41_552Z-debug.log