SvelteKit + Vercel This Serverless Function has Crashed
- Sentry CLI Binary?
#9718
Closed
3 tasks done
Labels
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.84.0
Framework Version
@sveltejs/kit 1.20.4 svelte 3.59.2
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
Today all of our deploys to vercel started resulting in:
The code change that first showed this was a 1 liner and we have tried rolling back to version that worked and we are getting the same issue.
I was going to log something with vercel, but when checking the logs we find the following 2 entries repeated over and over again on these PRs:
as well as a simple
[GET] / status = 500
which I believe is just related to above.Tried upgrading sentry sdks with no luck. The only way to recover our project was by completely removing sentry. Project is back up now. We got a seperate PR up now trying to add sentry back in but we keep getting above error.
I found some potentially related errors but they seem to be related to webpack / nextjs rather than vite and svelte:
#8659
#9584
Based on some ideas here: getsentry/sentry-cli#1317
I tried some random stuff like overwriting the
Install command
in vercel with:npm uninstall @sentry/sveltekit && npm install @sentry/sveltekit && npm install
using SvelteKit(v1) preset, but no luck.
Not to add too much noice, but I figured this be worth logging given it
just started
breaking without any clear reason on why.Project is in a monorepo using
turborepo
, npm workspace, other projects (node and next) all use sentry without issues.Expected Result
Should be able to deploy sentry + sveltekit to vercel
Actual Result
Unable to deploy.
The text was updated successfully, but these errors were encountered: