NEO
NEO3y ago

Can't get client to work

Hi, I can't get my client to work I'm using Next.js but I have also tried the React method from the docs. mutations and query property is missing.
3 Replies
NEO
NEOOP3y ago
Postman is working fine
julius
julius3y ago
what do you mean missing, is there no useQuery on the fetchAssets? Also, if you're using next.js why are you creating a standalone http server?
NEO
NEOOP3y ago
Yeah, there’s no useQuery on fetchAssets and I’m using standalone because we have other dependencies and event streams that only work in standalone environment Fixed it! @trpc/client version was mismatched it was on proxy-beta.10 upgraded to latest Closing post

Did you find this page helpful?