pnpm store prune, pnpm.lock and reinstalled..next folderuse server at the top of my server.ts file for interacting with tRPC on the server side.import server-onlynode_modulesnode_modules/.pnpm/@trpc+client@11.0.0-next.320_@trpc+server@11.0.0-next.320/node_modules/@trpc/client/dist/createTRPCClient.mjsserver.ts tRPC connecter was exporting a non-async function, which you cannot do if marking the file at the top with use server use server from the top, replaced with use server-only removed the debugging lines added as shown above and it worked.