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
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
Run your Next.js SSR app on Deno Deploy
Here's how to get your Next.js SSR project up and running on Deno Deploy.
GitHub
[Bug]: Unable to deploy Next.js following official guide ยท Issue #8...
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...
4 Replies
I follow the blog article to get experience to it and get same error. Then I tried to deploy it to vercel by vercel cli. And It works. You can do it as a workaround @Alex 1318
@haingdc next.js doesnt support deno, it seems that it only has a community support for deno functions
https://vercel.com/docs/functions/runtimes
https://github.com/vercel-community/deno
if i try to deploy the nextjs app directly on vercel i see that it doesnt have deno installed
Runtimes
Runtimes transform your source code into Functions, which are served by our Edge Network. Learn about the official runtimes supported by Vercel.
GitHub
GitHub - vercel-community/deno: ๐ฆ Deno runtime for โฒ Vercel Serverl...
๐ฆ Deno runtime for โฒ Vercel Serverless Functions. Contribute to vercel-community/deno development by creating an account on GitHub.
@Alex 1318 oh It's new to me. Thank you for explaining that. I get an error when build when using Deno api.
@Alex 1318 Can you make it works with Deno Deploy?
@haingdc no, i followed the instructions step by step and it does not work. there has bene no activity on the ticket i created