pvman
Explore posts from servers> Error: Invariant: headers() expects to have requestAsyncStorage, none available
Hi, I use trpc v1045.1 in next 14.1 app router. I call it server side and have the following.
It is working on a static route but on a dynamic route
/edit/[slug]
I get the following error (coming from the headers() in createServerApi):
Error: Invariant: headers() expects to have requestAsyncStorage, none availableAny idea how I could solve this?
8 replies