tRPCttRPC
Powered by
MichaelJC91M
tRPC•16mo ago•
19 replies
MichaelJC91

React app not inferring trpc client correctly

I have a monorepo with a packages folder that contains my api. That gets installed in a next js app, as well as a widget built in react using vite. All of a sudden my react app is not inferring my router correctly saying that property does not exist on type
never
never
.

What exactly is happening here? I've added a few screenshots of my configs
Screenshot_2024-10-22_at_8.51.22_AM.png
Screenshot_2024-10-22_at_8.51.12_AM.png
Screenshot_2024-10-22_at_8.51.02_AM.png
Screenshot_2024-10-22_at_8.50.54_AM.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Using both tRPC React client AND tRPC React Query client
anton.johanssonAanton.johansson / ❓-help
3y ago
inferRouterOutputs not inferring
REAZNRREAZN / ❓-help
3y ago