t
tRPC
S
tRPC
•
6mo ago
squishycantaloupe
Mismatched types
Getting the error
(attached
) when using trpc with separate client and server folders
. Is this normal
?
message.txt
4.69KB
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
Was this page helpful?
Yes
No
F
FluX
•
6/25/25, 10:36 PM
Check that all your trpc client
/server versions match
. That
should
fix errors like these
A
Alex / KATT 🐱
•
6/27/25, 8:15 AM
you likely need to do a proper monorepo setup
https://github.com/trpc/trpc/issues/6840
https://github.com/trpc/trpc/issues/6744
GitHub
bug: Incompatible router types · Issue #6840 · trpc/trpc
Provide environment information API folder
: vedantroy
@Vedants
-MacBook
-Pro api
% npx envinfo
-
-system
-
-binaries
-
-browsers
-
-npmPackages
"
;typescript
,next
,react
,
@trpc
/server
,
@trpc
/client
,
@trpc
/
.
.
.
GitHub
bug: Incompatible Router types on client creation · Issue #6744 ·...
Provide environment information Backend System
: OS
: Linux 5
.15 Ubuntu 24
.04
.2 LTS 24
.04
.2 LTS
(Noble Numbat
) CPU
:
(20
) x64 13th Gen Intel
(R
) Core
(TM
) i7
-13650HX Memory
: 12
.91 GB
/ 15
.43 GB Containe
.
.
.