Supabase with trpc
When trying to configure trpc with supabase, getting this kind of error in the console
tRPC failed on <no-path>: Invariant: Method expects to have requestAsyncStorage, none available
The message is kind of cryptic, does anyone have an idea what this relates to?1 Reply
ok it seems to relate to this
when I am trying to create a supabase client to pass to the context
but what is
requestAsyncStorage
and why is not available 😄 ..
ok figured it out, it was not trpc related, but my bad way of instantiating the actual database in the context