Hi
I go an issue trying to deploy a newer version of an App, any suggestion as to what the issue could be?
Running build in Washington, D.C., USA (East) – iad1
08:57:17.587Build machine configuration: 2 cores, 8 GB
08:57:17.603Cloning github.com/adminsnackboxx/Personal (Branch: main, Commit: d2a77f7)
08:57:18.339Cloning completed: 736.000ms
08:57:19.434Skipping build cache since Package Manager changed from “pnpm” to “npm”
08:57:19.617Running “vercel build”
08:57:20.089Vercel CLI 42.1.1
08:57:20.344Your application is being built using next build
. If you need to define a different build step, please create a vercel-build
script in your package.json
(e.g. { "scripts": { "vercel-build": "npm run prepare && next build" } }
).
08:57:20.346Installing dependencies…
08:57:21.103
08:57:21.104up to date in 533ms
08:57:21.132Warning: Could not identify Next.js version, ensure it is defined as a project dependency.
08:57:21.138Error: No Next.js version detected. Make sure your package.json has “next” in either “dependencies” or “devDependencies”. Also check your Root Directory setting matches the directory of your package.json file.
08:57:21.469
08:57:24.205Exiting build container
Only seeing one error
[08:57:17.587] Running build in Washington, D.C., USA (East) – iad1
[08:57:17.587] Build machine configuration: 2 cores, 8 GB
[08:57:17.603] Cloning github.com/adminsnackboxx/Personal (Branch: main, Commit: d2a77f7)
[08:57:18.339] Cloning completed: 736.000ms
[08:57:19.434] Skipping build cache since Package Manager changed from “pnpm” to “npm”
[08:57:19.617] Running “vercel build”
[08:57:20.089] Vercel CLI 42.1.1
[08:57:20.344] Your application is being built using next build
. If you need to define a different build step, please create a vercel-build
script in your package.json
(e.g. { "scripts": { "vercel-build": "npm run prepare && next build" } }
).
[08:57:20.346] Installing dependencies…
[08:57:21.103]
[08:57:21.104] up to date in 533ms
[08:57:21.132] Warning: Could not identify Next.js version, ensure it is defined as a project dependency.
[08:57:21.138] Error: No Next.js version detected. Make sure your package.json has “next” in either “dependencies” or “devDependencies”. Also check your Root Directory setting matches the directory of your package.json file.
[08:57:21.469]
[08:57:24.205] Exiting build container