v0-emora-appoint was imported from the Vercel project v0-emora-appoint. Continue chatting to ask questions about or make changes to it.
An error occurred during deployment. Please fix:
Running build in Washington, D.C., USA (East) – iad1
Build machine configuration: 4 cores, 8 GB
Retrieving list of deployment files...
Downloading 181 deployment files...
Restored build cache from previous deployment (E6BG2hLc5DPCGrDTSHYNRsPDsusS)
...
requireStack: []
}
Node.js v24.15.0
Error: Command "node .v0/inject-built-with-v0.mjs && next build" exited with 1
The debug logs show the dev server is running fine. The deployment error seems to be related to a build issue. Let me check the package.json and look for any potential issues with the build configuration:
The build is actually succeeding locally. The error in the deployment seems to be related to the .v0/inject-built-with-v0.mjs script that runs before the build. Let me check if there's an issue with the next.config.mjs or any other configuration file that might be causing issues during deployment:
The vercel.json references .v0/inject-built-with-v0.mjs. Let me check if this file exists:
Found the issue! The vercel.json references .v0/inject-built-with-v0.mjs but that directory/file doesn't exist. This is causing the deployment to fail. I'll update the vercel.json to use just the standard build command:
The issue was that vercel.json had a custom build command referencing .v0/inject-built-with-v0.mjs, but that file and directory don't exist in the project. This caused the deployment to fail with a module resolution error. I've updated vercel.json to an empty configuration, which will let Vercel use its default build process (next build) for Next.js projects.