This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archiv
8000
ed by the owner on Aug 11, 2022. It is now read-only.
Open
Description
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 ?