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