deployment of dynamic api route in next js #77826
Replies: 1 comment 4 replies
-
What Next.js version do you use? Did you also run |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
i created a dynamic api route called /api/projects/[projectId]/route.ts
i am getting error while deploy this on vercel
this is error:
Error: Failed to collect page data for /api/projects/[id]
at /vercel/path0/node_modules/next/dist/build/utils.js:1269:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'Error'
}
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1
this is my structure

please help me to solve error
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions