Compatibility flags for PosgreSQL
I am trying to build and deploy SvelteKit page with enabled flags:
I am using Drizzle connector, but seems I run always into node compatibility issues, which are present on native
Connectors are present in Hyperdrive: https://developers.cloudflare.com/hyperdrive/configuration/connect-to-postgres/#supported-drivers
Source code: https://github.com/bchainhub/dapp-sveltekit-boilerplate/tree/update/contrib-13
My questions:
Q1: Do I need to upgrade to paid plan for Node.js features support? (I am aware of Hyperdrive included in Paid plan)
Q2: What should I change to make Node.js API working on my Pages deployment?
Some of errors I am getting while deployment:
- page:
- deployment:
I checked the examples here also: https://developers.cloudflare.com/hyperdrive/examples/
nodejs_compat or nodejs_compat_v2 https://developers.cloudflare.com/workers/configuration/compatibility-dates/#compatibility-flagsI am using Drizzle connector, but seems I run always into node compatibility issues, which are present on native
postgres.js also. Connectors are present in Hyperdrive: https://developers.cloudflare.com/hyperdrive/configuration/connect-to-postgres/#supported-drivers
Source code: https://github.com/bchainhub/dapp-sveltekit-boilerplate/tree/update/contrib-13
My questions:
Q1: Do I need to upgrade to paid plan for Node.js features support? (I am aware of Hyperdrive included in Paid plan)
Q2: What should I change to make Node.js API working on my Pages deployment?
Some of errors I am getting while deployment:
- page:
core-dapp.pages.dev- deployment:
580ce1eI checked the examples here also: https://developers.cloudflare.com/hyperdrive/examples/
