Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
richard-edwards opened this issue Nov 7, 2023 · 1 comment
Open
2 tasks done

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

richard-edwards opened this issue Nov 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@richard-edwards
Copy link

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

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

  • OS: linux mint
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: "@nuxtjs/supabase": "^1.1.3",
  • Version of Node.js: 18

Additional context

@richard-edwards richard-edwards added the bug Something isn't working label Nov 7, 2023
@sahilpohare
Copy link

Is Someone working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants