supabase-js v2 runtime error with SvelteKit

Anyone have any idea how to fix this runtime error coming from PostgrestBuilder.ts?
Uncaught SyntaxError: The requested module '/node_modules/cross-fetch/dist/browser-ponyfill.js?v=e020469d' does not provide an export named 'default'
Was this page helpful?