Trpc failed on post.hello after initial setup

Broken after initial setup through CLI. I've attempted this with mutliple configurations and I'll always get the same error. Example broken configuration, typescript, drizzle, postgres, src directory, pages, and tailwind
tRPC failed on post.hello: [
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [],
"message": "Required"
}
tRPC failed on post.hello: [
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [],
"message": "Required"
}
I can confirm that I'm not passing undefined through the react component, but tRPC's input will always be undefined
Solution:
Changing dependencies fixed the problem ``` - @trpc/client 11.0.0-next-beta.216 + @trpc/client 11.0.0-rc.330...
Jump to solution
1 Reply
Solution
Chief
Chief9mo ago
Changing dependencies fixed the problem
- @trpc/client 11.0.0-next-beta.216
+ @trpc/client 11.0.0-rc.330
- @trpc/next 11.0.0-next-beta.216
+ @trpc/next 11.0.0-rc.330
- @trpc/react-query 11.0.0-next-beta.216
+ @trpc/react-query 11.0.0-rc.330
- @trpc/server 11.0.0-next-beta.216
- @trpc/client 11.0.0-next-beta.216
+ @trpc/client 11.0.0-rc.330
- @trpc/next 11.0.0-next-beta.216
+ @trpc/next 11.0.0-rc.330
- @trpc/react-query 11.0.0-next-beta.216
+ @trpc/react-query 11.0.0-rc.330
- @trpc/server 11.0.0-next-beta.216
Want results from more Discord servers?
Add your server