hasura/learn-graphql

auth-server throws error when using Node 14+

francispoole opened this issue · 1 comments

When using a Node version greater than 14, you receive the following error when attempting to interact with the auth-server to register users

{
  "message": "Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?",
  "type": "UnknownError",
  "data": {}
}

This requires the pg dependency to be updated to v8.0.3 (see: knex/knex#3831)

I'll raise a quick PR to fix this.

Thank you for your contribution!