https://supabase.com/ logo
When using sveltekit auth helpers following https...
# help
j
When using sveltekit auth helpers following https://github.com/supabase-community/auth-helpers/tree/main/packages/sveltekit I get
<SupaAuthHelper> is not a valid SSR component
Idk if need to add something in svelte.config.js
n
Hello @jar! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s
Do you get that when running that example app?
j
I didnt run example but i made my app fresh from sveltekit a couple days ago and even just updated it and still issue. Ill try tho
s
If the example works it's not an issue with the library, I also have a test app using the library that is deployed and doesn't have this issue. https://github.com/silentworks/waiting-list
j
Ok interesting. I logged the import * as test from @supabase/auth-helper-sveltekit or whatever and it didnt show SupaAuthHelper as an export (im at work rn so have to wait till later to spend more time on this) but i didnt seem like it was even avail to import
s
I've replied on your issue you opened on GitHub
j
Ok ill check it out! Thanks!
s
Please do read the README when setting up your project, this section highlights where the
SupaAuthHelper
is being imported from https://github.com/supabase-community/auth-helpers/tree/main/packages/sveltekit#supabaseclient-and-supaauthhelper-component-setup
j
Ohhh. Obviously I read the readme thats how I did every step I did. I mustve moved to fast or misunderstood. Shoot sorry for causing the trouble from basic thing. My interpretation was that sveltekit apps only need sveltekit and other proj using svelte but not kit would use the svelte one. Ok this is certainly the issue…ill physically do it later but safe to say thats it….Thanks!
n
Thread was archived by @jar. Anyone can send a message to unarchive it.