✅ 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


      
      
    