✘ [ERROR] Could not resolve "events" node_modules/.pnpm/pg-cloudflare@1.1.1/node_modules/pg-cloudflare/dist/index.js:1:29: 1 │ import { EventEmitter } from 'events'; ╵ ~~~~~~~~ The package "events" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "fs" node_modules/.pnpm/pg-connection-string@2.6.4/node_modules/pg-connection-string/index.js:76:77: 76 │ ...cert || config.sslkey || config.sslrootcert ? require('fs') : null ╵ ~~~~ The package "fs" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "events" node_modules/.pnpm/pg-pool@3.6.2_pg@8.11.5/node_modules/pg-pool/index.js:2:29: 2 │ const EventEmitter = require('events').EventEmitter ╵ ~~~~~~~~ The package "events" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "events" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/client.js:3:27: 3 │ var EventEmitter = require('events').EventEmitter ╵ ~~~~~~~~ The package "events" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "dns" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/connection-parameters.js:3:18: 3 │ var dns = require('dns') ╵ ~~~~~ The package "dns" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "net" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/connection.js:3:18: 3 │ var net = require('net') ╵ ~~~~~ The package "net" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "events" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/connection.js:4:27: 4 │ var EventEmitter = require('events').EventEmitter ╵ ~~~~~~~~ The package "events" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "crypto" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/crypto/utils-legacy.js:5:27: 5 │ const nodeCrypto = require('crypto') ╵ ~~~~~~~~ The package "crypto" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "crypto" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/crypto/utils-webcrypto.js:1:27: 1 │ const nodeCrypto = require('crypto') ╵ ~~~~~~~~ The package "crypto" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "events" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/native/client.js:12:27: 12 │ var EventEmitter = require('events').EventEmitter ╵ ~~~~~~~~ The package "events" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "util" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/native/client.js:13:19: 13 │ var util = require('util') ╵ ~~~~~~ The package "util" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "events" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/native/query.js:3:27: 3 │ var EventEmitter = require('events').EventEmitter ╵ ~~~~~~~~ The package "events" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "util" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/native/query.js:4:19: 4 │ var util = require('util') ╵ ~~~~~~ The package "util" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "events" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/query.js:3:33: 3 │ const { EventEmitter } = require('events') ╵ ~~~~~~~~ The package "events" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "net" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/stream.js:6:22: 6 │ const net = require('net') ╵ ~~~~~ The package "net" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "tls" node_modules/.pnpm/pg@8.11.5/node_modules/pg/lib/stream.js:21:20: 21 │ var tls = require('tls') ╵ ~~~~~ The package "tls" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "path" node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js:3:19: 3 │ var path = require('path') ╵ ~~~~~~ The package "path" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "stream" node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js:4:21: 4 │ , Stream = require('stream').Stream ╵ ~~~~~~~~ The package "stream" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "util" node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js:6:19: 6 │ , util = require('util') ╵ ~~~~~~ The package "util" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "path" node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/index.js:3:19: 3 │ var path = require('path') ╵ ~~~~~~ The package "path" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "fs" node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/index.js:4:17: 4 │ , fs = require('fs') ╵ ~~~~ The package "fs" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "stream" node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js:19:30: 19 │ const { Transform } = require('stream') ╵ ~~~~~~~~ The package "stream" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ✘ [ERROR] Could not resolve "string_decoder" node_modules/.pnpm/split2@4.2.0/node_modules/split2/index.js:20:34: 20 │ const { StringDecoder } = require('string_decoder') ╵ ~~~~~~~~~~~~~~~~ The package "string_decoder" wasn't found on the file system but is built into node. Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility. ╭──────────────────────────