Im trying to npm install pg on my ubuntu virtual machine and i got error:
> pg@1.1.0 install /usr/local/lib/node_modules/core/node_modules/pg > node-gy
I have installed libpq-dev library
sudo apt-get install libpq-dev
it helped ;)