getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
8.01k stars 1.58k forks source link

Nuxt fails to deploy on Vercel edge #14399

Open alex-drumrudiments opened 1 day ago

alex-drumrudiments commented 1 day ago

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nuxt

SDK Version

8.39.0

Framework Version

Nuxt 3.14.1592

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

Deploy a Nuxt project to Vercel using build preset: NITRO_PRESET=vercel-edge

NITRO_PRESET=vercel works fine. It's only vercel-edge that is a problem. Sorry if this is already a known issue.

Expected Result

Deployment is ok.

Actual Result

Receiving the error:

`Error: The Edge Function "__nitro" is referencing unsupported modules:

andreiborza commented 1 day ago

Hey @alex-drumrudiments, thank you for taking the time to file this.

Unfortunately, we do not support edge with our Nuxt SDK currently.

cc @s1gr1d