/src/trpc/ besides the hooks.server.ts which is inside /src/trpc/router.ts I've changed the variable name router in this line: to and then at the bottom changed to /src/trpc/router.ts to /src/trpc/appRouter.ts and inside of /src/trpc/client.ts changed to /src/hooks.server.ts I've changed the import to and changed this line