Getting Internal Server Error while deploying a nextjs application
There is no additional error message the log message before this says
It does not seem to be nextjs related. My nextjs version is
13.4.13
Unfortunately the code is not open source16 Replies
cache
property in fetch
calls by any chance??pages-deployment-id
The Pages deployment ID is a unique build identifier.
It's the UUID in the browser bar (for example, a URL would be
dash.cloudflare.com/ACCOUNT_ID/pages/view/PROJECT/DEPLOYMENT_ID
where the deployment ID looks something like a398d794-7322-4c97-96d9-40b5140a8d9b).
This ID can help troubleshoot some issues with Pages builds so if you have a failing build make sure you grab that ID for the Pages team to use.If you get this then I can check if there any internal logs for the error
66888a5a-921b-41c0-83e5-9993d50a6acc
yeah here it is it was in the log snippet i posted
I only have one api route which already set as edge runtime. Also a function in my functions directory which if i am not mistaken should deploy already as a standalone function
The functions directory won't work when using
@cloudflare/next-on-pages
since we generate our own worker, so you should move whatever you have in the functions directory to Next.js Edge API routes instead.oh that might be the problem
thank you
oh ok thank you
that should have showed on the logs on your side as well, did it not?
doesnt seems like it did
Odd
Thanks for letting me know
i can send you the full log output on my end as a dm if you want
It's okay, I can access that log too its just a few more buttons
ok thank you very much again
No problem