terribleplan
CDCloudflare Developers
•Created by terribleplan on 3/2/2024 in #workers-help
unable to deploy sveltekit when using postgres
Yeah, vite is what svelte uses for its builds. Nothing changed when adding those polyfills, so it may be something with how the svelte plugin works. It isn't entirely clear what is producing those error messages, or why it is even when the node compat flag is there which should let me use (at least some of) the packages it is complaining about...
13 replies
CDCloudflare Developers
•Created by terribleplan on 3/2/2024 in #workers-help
unable to deploy sveltekit when using postgres
As an interesting note
compatibility_flags = [ "nodejs_compat" ]
leads to fewer errors.
All of the issues seem to be in the build stage, before the actual deploy to CF regardless.13 replies
CDCloudflare Developers
•Created by terribleplan on 3/2/2024 in #workers-help
unable to deploy sveltekit when using postgres
Here are the full logs for
node_compat = true
13 replies
CDCloudflare Developers
•Created by terribleplan on 3/2/2024 in #workers-help
unable to deploy sveltekit when using postgres
As far as I can tell the issue isn't with the binding, and FWIW I am using workers:
13 replies