Repository: next.js
Issue: Error: Collecting page data for undefined is still timing out after 2 attempts. See more info here https://nextjs.org/docs/messages/page-data-collection-timeout -- 21:32:45.793 | at onRestart #64216
Labels: bug

### Link to the code that reproduces this issue

https://github.com/SH20RAJ/shadev2/tree/dev

### To Reproduce

Error: Collecting page data for undefined is still timing out after 2 attempts. See more info here https://nextjs.org/docs/messages/page-data-collection-timeout -- 21:32:45.793 | at onRestart #64216


### Current vs. Expected behavior

I am deploying my git repo to vercel and seeing this error

My Repo :- https://github.com/SH20RAJ/shadev2/tree/dev

Whats the problem how to fix it and deploy my website online.

PS: My Website is properly working on localhost and GitHub Codespaces

Error: Collecting page data for undefined is still timing out after 2 attempts. See more info here https://nextjs.org/docs/messages/page-data-collection-timeout -- 21:32:45.793 | at onRestart (/vercel/path0/node_modules/next/dist/build/index.js:303:27) 21:32:45.794 | at Worker.isPageStatic (/vercel/path0/node_modules/next/dist/lib/worker.js:95:40) 21:32:45.794 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 21:32:45.794 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:151:20) 21:32:45.794 | at async /vercel/path0/node_modules/next/dist/build/index.js:1047:56 21:32:45.794 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:151:20) 21:32:45.795 | at async Promise.all (index 3) 21:32:45.795 | at async /vercel/path0/node_modules/next/dist/build/index.js:979:17 21:32:45.795 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:151:20)



### Provide environment information

```bash
I'm deploying on vercel
```


### Which area(s) are affected? (Select all that apply)

App Router

### Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

### Additional context

I am deploying my git repo to vercel and seeing this error

My Repo :- https://github.com/SH20RAJ/shadev2/tree/dev

Whats the problem how to fix it and deploy my website online.

PS: My Website is properly working on localhost and GitHub Codespaces

Error: Collecting page data for undefined is still timing out after 2 attempts. See more info here https://nextjs.org/docs/messages/page-data-collection-timeout -- 21:32:45.793 | at onRestart (/vercel/path0/node_modules/next/dist/build/index.js:303:27) 21:32:45.794 | at Worker.isPageStatic (/vercel/path0/node_modules/next/dist/lib/worker.js:95:40) 21:32:45.794 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 21:32:45.794 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:151:20) 21:32:45.794 | at async /vercel/path0/node_modules/next/dist/build/index.js:1047:56 21:32:45.794 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:151:20) 21:32:45.795 | at async Promise.all (index 3) 21:32:45.795 | at async /vercel/path0/node_modules/next/dist/build/index.js:979:17 21:32:45.795 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:151:20)