createNextApiHandlercreateNextApiHandler which removes the error from here but causes issues when trying to create the trpc/server.ts file for the server components, particularly when trying to use the createCallerFactorycreateCallerFactory function (see second screenshot)
Join the Discord to ask follow-up questions and connect with the community