working-plusplus icon indicating copy to clipboard operation
working-plusplus copied to clipboard

postgres.connect hangs

Open steven-spiel opened this issue 4 years ago • 1 comments

I've installed the app with Heroku, added the postgres addon, inserted the env variables for tokens and DATABASE_URL, and I'm able to get a response from @bot help and even self plus, but after adding some logging, I see that postgres.connect() hangs forever.

Am I missing something?

steven-spiel avatar Aug 22 '21 14:08 steven-spiel

Looks like it was an issue with my node and postgres packages colliding. Node was at 14.x, so changed pg to:

"pg": "^8.7.1"

This helped me find it.

stevenspiel avatar Aug 23 '21 02:08 stevenspiel