Skip to content

Nuxt fails to deploy on Vercel edge #14399

@alex-drumrudiments

Description

@alex-drumrudiments

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: - __vc__ns__/0/index.mjs: import-in-the-middle/hook.mjs

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions