ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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
85,042
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
Unable to deploy my NextJs in cloudflare pages.
CD
Cloudflare Developers / general-help
5mo ago
my nextjs building is failing on cloudflare pages.
CD
Cloudflare Developers / general-help
3y ago
500 Error when Deploying Website
CD
Cloudflare Developers / general-help
14mo ago