Alex 1318
Alex 1318
DDeno
Created by Alex 1318 on 3/13/2025 in #help
Unable to deploy Next.js following official guide
hi there 👋 one of deno's main selling points over choosing another runtime like bun is that it promises next.js compatibility, but i haven't yet been able to build and deploy a next.js app with deno. I've tried following this guide from deno but cant get it to work. i filed a bug report with reproduction steps on the deploy_feedback github here. the error message i've been getting is
Error: The deployment failed: Error parsing 'file:///src/.next/server/pages/404.html': Expected ';', '}' or <eof> at file:///src/.next/server/pages/404.html:1:11
Error: The deployment failed: Error parsing 'file:///src/.next/server/pages/404.html': Expected ';', '}' or <eof> at file:///src/.next/server/pages/404.html:1:11
anyone familiar with this error message/know what may be going on here? has anyone, in the past week or two, been able to deploy a deno + next.js app to deno deploy (or any other hosted service)?
6 replies