I have been trying to install node-postgres package in my nodejs application.
https://github.com/brianc/node-postgres
But I am getting following error all the times. It gets killed.
root@MyUbuntu:~/MyProject# npm install pg --save
Killed ........] \ loadExtraneous: verb afterAdd /root/.npm/through/2.3.8/package/package.json written
I have seen other similar questions but they are not related to my specific problem. I was able to install other packages in the same project, it means npm is working fine.
I looked into following questions as well: