DaOfficialWizard🧙
Assistance with SolidStart and Supabase Auth in SSR
No, that must not be it ... i am getting a
Error: Module "node:async_hooks" has been externalized for browser compatibility. Cannot access "node:async_hooks.AsyncLocalStorage" in client code.
25 replies
Assistance with SolidStart and Supabase Auth in SSR
The trouble i am running into - how do i setup the
createServerClient
override methods using the middleware strategy?
I can grab the nativeEvent
and pass that to the vinxi helpers - but that doesn't really help me setup the client? Should i construct the client inside the onRequest
callback and then assign it to the global context? Is that possible? That seems silly ...25 replies
Assistance with SolidStart and Supabase Auth in SSR
if however a new one is created for each request then matters could be considerably simpler)
Since the supabase/ssr
package exposes the client as a singleton i think this can be achieved.25 replies
Assistance with SolidStart and Supabase Auth in SSR
Thanks for your input @peerreynders - this is the conclusion that i've come to as well. I am just struggling with the implementation - being new to SolidStart it is not entirely clear to me what the flow is for
middleware
.25 replies
Solid-UI The `border-border` class does not exist.
Note - i took the contents of
ui.presets.js
and i simply added them manually (then promptly removed that extraneous file) to my tailwind.config.ts
file and the issue went away. Seems that there is an issue with the method of adding the presets to tailwind that causes the issue. I can not use solid-ui
and daisyui
along side each other - with a lot more granularity.3 replies