[Server] 🚀 "Google" auth initialized
[Server] Starting pg-boss...
[Server!] pg-boss failed to start!
[Server!] Error: connect ECONNREFUSED ::1:5432
[Server!] at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
[Server!] errno: -61,
[Server!] code: 'ECONNREFUSED',
[Server!] syscall: 'connect',
[Server!] address: '::1',
[Server!] port: 5432
[Server!] }
[Server] Server listening on port 3001
[Server!] node:internal/process/promises:288
[Server!] triggerUncaughtException(err, true /* fromPromise */);
[Server!] ^
[Server!]
[Server!] [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<PgBoss>".] {
[Server!] code: 'ERR_UNHANDLED_REJECTION'
[Server!] }
[Server!]
[Server!] Node.js v18.16.0
[Server] [nodemon] app crashed - waiting for file changes before starting...
“
[Server] 🚀 "Google" auth initialized
[Server] Starting pg-boss...
[Server!] pg-boss failed to start!
[Server!] Error: connect ECONNREFUSED ::1:5432
[Server!] at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
[Server!] errno: -61,
[Server!] code: 'ECONNREFUSED',
[Server!] syscall: 'connect',
[Server!] address: '::1',
[Server!] port: 5432
[Server!] }
[Server] Server listening on port 3001
[Server!] node:internal/process/promises:288
[Server!] triggerUncaughtException(err, true /* fromPromise */);
[Server!] ^
[Server!]
[Server!] [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<PgBoss>".] {
[Server!] code: 'ERR_UNHANDLED_REJECTION'
[Server!] }
[Server!]
[Server!] Node.js v18.16.0
[Server] [nodemon] app crashed - waiting for file changes before starting...
“