Skip to content

[Bug] "does not provide an export named 'parse'" with cookie@1.0.2 in Nuxt 4 #137

@FlorianJoseph

Description

@FlorianJoseph

Describe the bug

Hello Supabase team 👋

I am using @nuxtjs/supabase@2.0.1 with Nuxt 4.2 and cookie@1.0.2.
When running the project, I get the following error:

Uncaught (in promise) SyntaxError: The requested module 'cookie' does not provide an export named 'parse'

It seems related to the CommonJS → ESM import in @supabase/ssr@0.7.0.

Is there a plan to fix this or a recommended workaround until a patch release?

Thanks a lot!

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions