-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Supabase works with Vite but not SvelteKit dev mode #673
Comments
This happens when the source map for supabase-js is loaded, not sure how to fix it, but it's from here
|
Does it work if you install it as a |
I've just tested and yes it does work... Though I'm so certain that I tried this before when trying to figure out the problem and it didn't... Maybe Supabase or SvelteKit was updated between my messing about and creating this issue. Either that or I'm losing my mind. Or both. Thanks for looking into this! |
I think the If you're using another adapter you will need the Supabase source map issue to be fixed supabase/supabase-js#153 |
supabase/supabase-js#153 was resolved but now there is also supabase/supabase-js#155 |
Describe the bug
Importing Supabases's client and refreshing the page shows an error that always looks something like...
Building and running (
npm run build
npm run start
) works fine, and the client can be used.Have tested with a normal Vite Svelte app (
npm init @vitejs/app
) and that works fine.To Reproduce
Reproducible repo
Information about your SvelteKit Installation:
Chrome
static
Severity
I'm probably doing something stupid here, so sorry if this is a waste of your time. But we want to build a simple-ish web app using SvelteKit and Supabase and this is stopping us.
The text was updated successfully, but these errors were encountered: