supabase / postgrest-js

Isomorphic JavaScript client for PostgREST.
https://supabase.com
MIT License
962 stars 128 forks source link

No default export from supabase/node-fetch error #500

Open richard-edwards opened 7 months ago

richard-edwards commented 7 months ago

Bug report

Describe the bug

Recently upgraded my application to the latest nuxtjs/supabase version and have been getting this error on all pages. I have looked at node-fetch source and it does look like there is a default export so not sure why this is occurring.

I have also done a full clean and reget of all dependencies.

PostgrestBuilder.ts:2 Uncaught SyntaxError: 
The requested module '/_nuxt/node_modules/.pnpm/@supabase+node-fetch@2.6.14/node_modules/@supabase/node-fetch/browser.js?v=a82b1307' 
does not provide an export named 'default' (at PostgrestBuilder.ts:2:8)

System information

Additional context

sahilpohare commented 6 months ago

Is Someone working on this?