Skip to content

Latest version doesn't work #546

@danieldilly

Description

@danieldilly

I recently updated @nuxtjs/supabase and my project stopped working. It doesn't load and I just see an error in the console (see below).

I started the project from scratch, assuming it was something with my configuration that would be resolved with a fresh start -- but ran into the same issue again.

Version

@nuxtjs/supabase: v2.0.1
nuxt: v4.2.0

Steps to reproduce

  1. Create a new Nuxt 4 project: npm create nuxt@latest <project-name>
  2. Add the Nuxt Supabase module: npx nuxi@latest module add supabase
  3. Add a .env file with SUPABASE_URL & SUPABASE_KEY defined
  4. Run the project with npm run dev

What is Expected?

No error

What is actually happening?

I receive an error in the console:

Uncaught (in promise) SyntaxError: The requested module '/_nuxt/@fs/C:/Dev/test1/node_modules/@supabase/postgrest-js/dist/cjs/index.js?v=11d44d48' does not provide an export named 'default' (at wrapper.mjs?v=11d44d48:1:8)

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