I’m still learning so go easy on me. I keep getting the same build error. I’ve run out of knowledge. Can anyone lead me in the right direction. This app did build at one point.
src/app/jobs/[id]/page.tsx
457 Type error: Type ‘{ params: { id: string; }; }’ does not satisfy the constraint ‘PageProps’.
458 Types of property ‘params’ are incompatible.
459 Type ‘{ id: string; }’ is missing the following properties from type ‘Promise’: then, catch, finally, [Symbol.toStringTag]
460
461 Next.js build worker exited with code: 1 and signal: null
462 /layers/google.nodejs.firebasenextjs/npm_modules/node_modules/@apphosting/common/dist/index.js:36
463 reject(new Error(Build process exited with error code ${code}.
));
464 ^
465
466 Error: Build process exited with error code 1.
467 at ChildProcess. (/layers/google.nodejs.firebasenextjs/npm_modules/node_modules/@apphosting/common/dist/index.js:36:24)
468 at ChildProcess.emit (node:events:518:28)
469 at ChildProcess._handle.onexit (node:internal/child_process:293:12)
470
471 Node.js v22.16.0"}
472 ERROR: failed to build: exit status 1
473 ERROR: failed to build: executing lifecycle: failed with status code: 51
474 Finished Step #3 - “pack”
475 ERROR
476 ERROR: build step 3 “gcr.io/k8s-skaffold/pack” failed: step exited with non-zero status: 1