AlexA
Denoβ€’10mo agoβ€’
5 replies
Alex

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



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)?
Deno Blog
Here's how to get your Next.js SSR project up and running on Deno Deploy.
Run your Next.js SSR app on Deno Deploy
GitHub
Problem description Unable to deploy next.js apps on deno deploy through the cli or github actions. I've tried following this guide and several other methods but always get the same type of par...
[Bug]: Unable to deploy Next.js following official guide Β· Issue #8...
Was this page helpful?