© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Getting 500 error after deploying my NextJS app to Cloudflare Pages. - Cloudflare Developers
CD
Cloudflare Developers
•
2y ago
•
2 replies
hanbergsen
Getting 500 error after deploying my NextJS app to Cloudflare Pages.
I am using NextJS v14
I followed all the step here
:
https://github.com/cloudflare/next-on-pages/tree/main/packages/next-on-pages#quick-start
When I run
npx @cloudflare/next-on-pages
npx @cloudflare/next-on-pages
locally I get no error and a
.vercel
.vercel
dir is generated
.
I have also found these tutorials
-
https://www.youtube.com/watch?v=A49jpNN4omY
-
https://www.youtube.com/watch?v=Ouny4LKe3UM
In the tutorials they also install
wrangler
wrangler
and
vercel
vercel
packages as well as modify the versions of the packages
. I have tried this but get the same 500 result
.
Any suggestions
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
86,942
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Cloudflare Pages internal error 500
CD
Cloudflare Developers / general-help
3y ago
how to convert my fullstack nextjs app to cloudflare next on pages
CD
Cloudflare Developers / general-help
2mo ago
Unable to deploy my NextJs in cloudflare pages.
CD
Cloudflare Developers / general-help
7mo ago
my nextjs building is failing on cloudflare pages.
CD
Cloudflare Developers / general-help
3y ago