Installing postgres client for nodejs

This fixes the following error:

/vagrant/node_modules/pg/wscript:16: error: The program ['pg_config'] is required
apt-get install libpq-dev

npm install pg

If you're looking for a good Postgres book, Postgres High Performance gave me a lot of good tips on problems you encounter in a running system.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *