Issue Description
I'm trying to deploy a Next.js application on Vercel, but I'm encountering an error during the build process. In addition to the fact that building locally is successful, I deployed the same app over and over in the recent days. But Today it fails without making any changes to the code base. The error message I'm seeing is:
added 1167 packages in 41s395 packages are looking for funding run `npm fund` for detailsDetected Next.js version: 14.2.5Detected `package-lock.json` generated by npm 7+Running "npm run build"> nextsaas@0.1.0 build> prisma generate && next buildPrisma schema loaded from prisma/schema.prismaError: The "path" argument must be of type string. Received undefinedError: Command "npm run build" exited with 1Environment and Setup
- Next.js version: 14.2.5
- Prisma version: Latest (updated)
package.jsonfile contains:
{ "name": "nextsaas", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "prisma generate && next build", "postbuild": "next-sitemap", "start": "next start", "lint": "next lint" }, "overrides": { "oidc-token-hash": "5.0.1", "next-contentlayer": { "next": "$next" } }....etc}Any assistance in resolving this issue would be greatly appreciated. Please let me know if you need any additional information from me.