Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

postgres.connect hangs #49

Open
steven-spiel opened this issue Aug 22, 2021 · 1 comment
Open

postgres.connect hangs #49

steven-spiel opened this issue Aug 22, 2021 · 1 comment

Comments

@steven-spiel
Copy link

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?

@stevenspiel
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants