Chief
Chief
TTCTheo's Typesafe Cult
Created by Chief on 4/3/2024 in #questions
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
4 replies