So I have a nextjs monorepo with pnpm and two separate next project in the apps folder (see the packet-details branch on this link). I’m building this locally then I deploy it to vercel using the CLI. At deployment I’m getting the following error in both projects:
Error: ENOENT: no such file or directory, lstat '/node_modules/next/dist/server/next-server.js'
Hi @programmerpeter2, just checking in to see if you were able to resolve the “next-server.js not found” issue during your Vercel deployment or if you still need assistance. Let me know how it’s going!