NEO
Cannot access 't' before initialization
Hi,
I'm migrating my app to a mono repo but I just can't get past this error for some reason
Cannot access 't' before initialization
when using the tRPC instance anywhere be it a middleware or router
The server is a standalone node server
useAuthenticaton.ts
api.ts
16 replies
tRPC standalone server in monorepo
Hi,
I'm using t3-stack monorepo as my base and I've swapped out NextJS backend for standalone HTTP server but I just can't get it work
Discord wouldn't let me post the code as it was too long so I've uploaded the api.ts and client.ts along with the error to gist
https://gist.github.com/neo773/7c8a314785d5e4f54c724cde7e5fa65c
13 replies