mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-21 22:28:19 +02:00
Switch to local PostgreSQL configuration and improve data handling
Migrates from Neon serverless to local PostgreSQL, fixes timestamp comparisons, and applies Node.js 18 compatibility fixes. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/142044c4-d937-4abb-ae50-83d9764cfb4d.jpg
This commit is contained in:
1 parent
49e15b7e46
commit
1baefe2767
5 files changed
+274
-115
No files matched your search
+124
@@ -0,0 +1,124 @@
|
||||
✅ Node.js 18 compatibility fix applied
|
||||
|
||||
file:///app/node_modules/@neondatabase/serverless/index.mjs:1345
|
||||
|
||||
o?t(o):n(u)},"cb"),s=new r(function(o,u){n=o,t=u}).catch(o=>{throw Error.captureStackTrace(
|
||||
|
||||
^
|
||||
|
||||
␍ErrorEvent {
|
||||
|
||||
[Symbol(kTarget)]: WebSocket {
|
||||
|
||||
_events: [Object: null prototype] {
|
||||
|
||||
error: [Function: onError] {
|
||||
|
||||
[Symbol(kIsForOnEventAttribute)]: false,
|
||||
|
||||
[Symbol(kListener)]: [Function (anonymous)]
|
||||
|
||||
},
|
||||
|
||||
message: [Function: onMessage] {
|
||||
|
||||
[Symbol(kIsForOnEventAttribute)]: false,
|
||||
|
||||
[Symbol(kListener)]: [Function (anonymous)]
|
||||
|
||||
},
|
||||
|
||||
close: [Function: onClose] {
|
||||
|
||||
[Symbol(kIsForOnEventAttribute)]: false,
|
||||
|
||||
[Symbol(kListener)]: [Function (anonymous)]
|
||||
|
||||
},
|
||||
|
||||
open: [Function: onOpen] {
|
||||
|
||||
[Symbol(kIsForOnEventAttribute)]: false,
|
||||
|
||||
[Symbol(kListener)]: [Function: handleWebSocketOpen]
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
_eventsCount: 4,
|
||||
|
||||
_maxListeners: undefined,
|
||||
|
||||
_binaryType: 'arraybuffer',
|
||||
|
||||
_closeCode: 1006,
|
||||
|
||||
_closeFrameReceived: false,
|
||||
|
||||
_closeFrameSent: false,
|
||||
|
||||
_closeMessage: Buffer(0) [Uint8Array] [],
|
||||
|
||||
_closeTimer: null,
|
||||
|
||||
_errorEmitted: true,
|
||||
|
||||
_extensions: {},
|
||||
|
||||
_paused: false,
|
||||
|
||||
_protocol: '',
|
||||
|
||||
_readyState: 3,
|
||||
|
||||
_receiver: null,
|
||||
|
||||
_sender: null,
|
||||
|
||||
_socket: null,
|
||||
|
||||
_bufferedAmount: 0,
|
||||
|
||||
_isServer: false,
|
||||
|
||||
_redirects: 0,
|
||||
|
||||
_autoPong: true,
|
||||
|
||||
_url: 'wss://regisflow-db/v2',
|
||||
|
||||
_req: null,
|
||||
|
||||
[Symbol(kCapture)]: false
|
||||
|
||||
},
|
||||
|
||||
[Symbol(kType)]: 'error',
|
||||
|
||||
[Symbol(kError)]: Error: connect ECONNREFUSED 172.22.0.2:443
|
||||
|
||||
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
|
||||
|
||||
errno: -111,
|
||||
|
||||
code: 'ECONNREFUSED',
|
||||
|
||||
syscall: 'connect',
|
||||
|
||||
address: '172.22.0.2',
|
||||
|
||||
port: 443
|
||||
|
||||
},
|
||||
|
||||
[Symbol(kMessage)]: 'connect ECONNREFUSED 172.22.0.2:443'
|
||||
|
||||
}
|
||||
|
||||
Node.js v18.20.8
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user