Open ganeshcse2991 opened 4 years ago
Hi,
I am trying to do npm install clearbit in AWS EC2 t3 linux instance and I am getting the below error.
npm install clearbit
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.
sudo npm instal
node version - 10.6.0 npm version - 6.1.0
Please see my workaround on this issue. Hope this helps!
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