Hi everyone,
I’m running into a weird issue when deploying my Next.js app to a server.
Locally, everything works perfectly — the site builds and runs fine.
But when I move it to the server and try to access the page, I get:
503
Service Unavailable
The server is temporarily busy, try again later!
The stderr.log file from the Node.js app:
/home/my_app/nodevenv/my_app_node_js/22/lib/node_modules/next/dist/server/lib/router-utils/filesystem.js:215
for (const route of routesManifest.dataRoutes){
^
TypeError: routesManifest.dataRoutes is not iterable
`at setupFsCheck (/home/my_app/nodevenv/my_app_node_js/22/lib/node_modules/next/dist/server/lib/router-utils/filesystem