Build fails locally but deploys successfully on vercel

I am using turborepo with trpc and nextjs ,when i run pnpm build in the root of my monorepo the build fails with the following error


you can take a look at my code here

This looks like an issue with your Next.js app - does the build work if you run pnpm build when in apps/web?

yea the issue still persists

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.