Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules\'', #6

Closed
amanfe opened this issue Aug 23, 2019 · 1 comment

Comments

@amanfe
Copy link

amanfe commented Aug 23, 2019

I am trying to run "npm install -g @aws-amplify/cli" on my MAC - Mojave OS.
every time I am getting this error:
"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".

@amanfe
Copy link
Author

amanfe commented Aug 23, 2019

aws-amplify/amplify-cli#1996 (comment)

"sudo npm install -g --unsafe-perm --verbose @aws-amplify/cli" worked for me

@dabit3 dabit3 closed this as completed Oct 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants