Deployment Failing: "Server is not a constructor"
Hello, I'm trying to deploy a svelte site that has worked fine for the past year or so, but recently I'm unable to deploy at all (old deployments that were succeeding are now failing when retrying) and am getting the following build logs:
Would this have been caused by some update recently? I'm unsure how to proceed. Thank you!
1 Reply
GitHub
SvelteKit 2.20.0 introduced `TypeError: Server is not a constructor...
Describe the bug SvelteKit 2.20.0 introduced a TypeError: Server is not a constructor issue at NodeJS server runtime in a certain configuration, where vite-plugin-top-level-await and hooks.server.t...