Skip to content

cookie dep does not provide an export named 'parse' #102

Closed as not planned
Closed as not planned

Description

@BinaryShrub
  1. Create a new nuxt project with deno
  2. Install supabase with npx nuxi@latest module add supabase
  3. Set supabase.url and supabase.key in nuxt.config.ts

Load the page and get a page breaking console error after the template loads:

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.deno/[email protected]/node_modules/cookie/index.js?v=63387d2c' does not provide an export named 'parse' (at helpers.js?v=63387d2c:1:10)
{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "@nuxtjs/supabase": "1.5.0",
    "@nuxtjs/tailwindcss": "6.13.2",
    "nuxt": "^3.16.0",
    "vue": "^3.5.13",
    "vue-router": "^4.5.0"
  }
}
Image

Activity

  1. added
    bug
    on Mar 14, 2025
  2. BinaryShrub commented on Mar 14, 2025

    @BinaryShrub
    Author
  3. transferred this issue fromsupabase/supabaseon Mar 17, 2025
  4. vignesk70 commented on Apr 11, 2025

    @vignesk70

    With the same package.json, the version breaks the Nuxt Dev Tools as well and an additional warning in the browser console
    Commenting out the '@nuxtjs/supabase' to bring back NuxtDevTools.

    helpers.js?v=b1d8d2e9:1 Uncaught SyntaxError: The requested module '/_nuxt/node_modules/@supabase/ssr/node_modules/cookie/index.js?v=b1d8d2e9' does not provide an export named 'parse' (at helpers.js?v=b1d8d2e9:1:10)
    login:1 The resource http://localhost:3000/_nuxt/builds/meta/dev.json was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
    
  5. added a commit that references this issue on Nov 1, 2025
  6. github-actions commented on Sep 4, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had any activity for 6 months.
    It will be closed in 30 days if no further activity occurs.

    If this is still relevant, please comment to keep it open.

  7. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor

    Closed due to inactivity. Please open a new issue if this is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions