[Bug]: Deno Deploy Won't Work On My NextJS v15 App
Problem description
When I try to deploy my NextJS project on Deno Deploy using GitHub Actions I get the following error described on the screenshot.
I am using NextJS v15, and Deno v2.2.6 on development.
Steps to reproduce
- Follow the start new project from GitHub Actions tutorial from the Deno Deploy tutorial page.
- Start the project using the following project configuration settings on the page.
- This is the contents of the deploy.yaml file that was produced from step 2.
Expected behavior
I expected the website to build and deploy as it says it would in the instructions. Instead it gets stuck at the deploy step with the above error. Chat GPT was of little help and seemed to hallucinate all over the place when trying to troubleshoot the problem which makes me think it is some sort of bug. It is being build in the GitHub repo using GitHub actions via the deploy.yaml provided from the configuration provided by Deno Deploy.
Environment
Deno v2.2.6 NextJS 15.0.2-canary.9 with Turbopack Linux Mint operating system.
Possible solution
Better more detailed documentation. I followed all the steps provided by the tutorial.
Additional context
Please give me a lifeline here. I really like Deno and I think I will like Deno Deploy once I get it working but even Chat GPT couldn't figure out what was wrong after hours of trying to troubleshoot this feeding it all the docs and my yaml files etc.