Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting permission denied error while installing clearbit in linux #47

Open
ganeshcse2991 opened this issue May 28, 2020 · 1 comment
Open

Comments

@ganeshcse2991
Copy link

ganeshcse2991 commented May 28, 2020

Hi,

I am trying to do npm install clearbit in AWS EC2 t3 linux instance and I am getting the below error.

Command failed: git clone --depth=1 -q -b master git://github.com/clearbit/needle.git /root/.npm/_cacache/tmp/git-clone-d0e831ca npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-d0e831ca': Permission denied

I tried to do sudo npm instal too which is not recommended.

node version - 10.6.0
npm version - 6.1.0

@lino-levan
Copy link

Please see my workaround on this issue. Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants