Tupperbox / TupperboxLegacy

A Discord bot created for proxying user messages through webhooks.
MIT License
74 stars 47 forks source link

Not connecting to pgsql #72

Closed lyssieth closed 4 years ago

lyssieth commented 4 years ago

It gets stuck at modules/db.js "(await (await pool.connect()).release());" I'm assuming it is stuck connecting to postgres, but I can't figure out why. I can connect to postgres from my own machine, from my laptop, but node is failing here.

ghost commented 4 years ago

Hi there! It seems this is a bug with NodeJS v14. Any previous versions should work.

lyssieth commented 4 years ago

I updated the postgres package in package.json instead, seemed to do the trick.

ghost commented 4 years ago

... oh, that's probably a better idea. I'd recommend submitting a PR for that, if you don't mind.

lyssieth commented 4 years ago

Done :)