tdmalone / working-plusplus

Like plusplus.chat, but one that actually works, because you can host it yourself 😉
MIT License
23 stars 41 forks source link

postgres.connect hangs #49

Open steven-spiel opened 3 years ago

steven-spiel commented 3 years ago

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 commented 3 years ago

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.