Skip to content

fix: ReferenceError: _default is not definedΒ #399

@jdgamble555

Description

@jdgamble555

πŸ› The bug

When I deploy to Vercel Edge, I get this error:

ReferenceError: _default is not defined

It works fine on Vercel Functions.

I used to be Edge compatible.

πŸ› οΈ To reproduce

https://github.com/jdgamble555/nuxt-og-image, https://nuxt-og-image.vercel.app/

🌈 Expected behavior

It should deploy as expected. My GH is a minimum project.

ℹ️ Additional context

I probably should have published here, as I thought this was a Nuxt SEO package, so this is related:

harlan-zw/nuxt-seo#494

Nitro deployment: vercel-edge

J

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions