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

Can not install modules #21195

Open
gasparyanyur opened this issue Jul 11, 2018 · 1 comment
Open

Can not install modules #21195

gasparyanyur opened this issue Jul 11, 2018 · 1 comment

Comments

@gasparyanyur
Copy link

gasparyanyur commented Jul 11, 2018

I am trying to install some modules via sudo npm install -g <module> or sudo npm i <module> --save-dev.
But I am getting an error look like this

npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q https://github.com/m0n0l0c0/eventemitter3.git /home/even/.npm/_cacache/tmp/git-clone-d5fb7f47
npm ERR! /home/even/.npm/_cacache/tmp/git-clone-d5fb7f47/.git: Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/even/.npm/_logs/2018-07-11T14_32_24_211Z-debug.log

What the issue and how can I solve this ?

@DanielRuf
Copy link

Please provide /home/even/.npm/_logs/2018-07-11T14_32_24_211Z-debug.log

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

No branches or pull requests

3 participants