Practical Microservices: Knex - Timeout acquiring a connection

There is an issue with the pg npm package version that is included with the example code. There is a very simple fix that will solve this timeout error:

npm install pg@latest --save

source