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
- Create a new Nuxt 4 project:
npm create nuxt@latest <project-name>
- Add the Nuxt Supabase module:
npx nuxi@latest module add supabase
- Add a
.env file with SUPABASE_URL & SUPABASE_KEY defined
- 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)
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
npm create nuxt@latest <project-name>npx nuxi@latest module add supabase.envfile withSUPABASE_URL&SUPABASE_KEYdefinednpm run devWhat is Expected?
No error
What is actually happening?
I receive an error in the console: