Closed
Description
Describe the bug
@sveltejs/kit next.433 (this PR: #6179) seems to have introduced a bug with Vercel edge functions. The edge functions consistently crash
Reproduction
- kit 433 with Vercel edge functions: https://github.com/SG60/kit-433-error/tree/36670af2556b9b832b4b7fc47be807a7bc120e0d
this has an error - kit 433 without edge functions: https://github.com/SG60/kit-433-error/tree/b2e212d73dd297ac54fece7ec8e834657b9967dc
this works - kit downgraded to 432 with Vercel edge functions: https://github.com/SG60/kit-433-error/tree/c02648f00e9d9812b4dfdaa74a00cab0f93c930e
this works
Logs
(These are from Vercel's function logs)
TypeError: Cannot read properties of null (reading 'handleError')
at ../../../../.svelte-kit/output/server/index.js:2455:27
at ../../../../.svelte-kit/output/server/index.js:2404:12
[GET] / reason=EDGE_FUNCTION_INVOCATION_FAILED, status=500, user_error=true
System Info
Vercel
Severity
blocking an upgrade
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels