Skip to content Skip to sidebar Skip to footer

Node 14 Causing Unknown Issues For Graphqljs

So I recently tried upgrading my node from 13 to 14, but afterwards I was having issues with graphql. What happened was that I was forever 'pending' whenever I sent a request to th

Solution 1:

There is a known issue in the pg module and NodeJS 14. Since pg-promise also uses this module - I suspect this is the problem.

The proposed solution is to make sure you have pg>=8.0.3 installed.

This can be done by

  • updating to pg-promise>=10.5.2 which already has the updated pg module as a dependency and/or
  • updating to pg>=8.0.3 in the dependencies if explicitly specified.

Also make sure that any other library depending on pg is up to date.

Post a Comment for "Node 14 Causing Unknown Issues For Graphqljs"