postgres in pages
how can i use postgres using sveltekit with pages and drizzle ORM?
im using
im using
pgpg atm but im getting these errors when building;18:24:51.574 node_modules/pg/lib/stream.js:21:20:
18:24:51.574 21 │ var tls = require('tls')
18:24:51.574 ╵ ~~~~~
18:24:51.574
18:24:51.575 Cannot use "tls" when deploying to Cloudflare.
18:24:51.575
18:24:51.575
18:24:51.575 ✘ [ERROR] Could not resolve "fs"
18:24:51.575
18:24:51.575 node_modules/pgpass/lib/index.js:4:17:
18:24:51.575 4 │ , fs = require('fs')
18:24:51.575 ╵ ~~~~
18:24:51.576
18:24:51.576 Cannot use "fs" when deploying to Cloudflare.18:24:51.574 node_modules/pg/lib/stream.js:21:20:
18:24:51.574 21 │ var tls = require('tls')
18:24:51.574 ╵ ~~~~~
18:24:51.574
18:24:51.575 Cannot use "tls" when deploying to Cloudflare.
18:24:51.575
18:24:51.575
18:24:51.575 ✘ [ERROR] Could not resolve "fs"
18:24:51.575
18:24:51.575 node_modules/pgpass/lib/index.js:4:17:
18:24:51.575 4 │ , fs = require('fs')
18:24:51.575 ╵ ~~~~
18:24:51.576
18:24:51.576 Cannot use "fs" when deploying to Cloudflare.