-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Next.js framework not detected in GitHub Action #6863
Copy link
Copy link
Closed
Description
Environment info
firebase-tools: 12.7.0
Platform: Ubuntu 22.04.3 LTS
Test case
I'm starting a fresh project with GitHub and the Next.js framework integration. I started from scratch this morning, and everything went well. I was able to deploy from my local machine and hosting picked it up.
Steps to reproduce
Could not determine the web framework in use.
***
"status": "error",
"error": "Unable to detect the web framework in use, check firebase-debug.log for more info.\n\n\u001b[1mDocumentation:\u001b[[22](https://github.com/deltaepsilon/investor-portal/actions/runs/8214803231/job/22467610748#step:4:25)m [https://firebase.google.com/docs/hosting/frameworks/frameworks-overview\n\u001b[1mFile](https://firebase.google.com/docs/hosting/frameworks/frameworks-overview/n/u001b[1mFile) a bug:\u001b[22m https://github.com/firebase/firebase-tools/issues/new?template=bug_report.md\n\u001b[1mSubmit a feature request:\u001b[22m https://github.com/firebase/firebase-tools/issues/new?template=feature_request.md\n\nWe'd love to learn from you. Express your interest in helping us shape the future of Firebase Hosting: https://goo.gle/41enW5X"
***
- I tried switching the
hosting.sourcekey tohosting.publicinfirebase.json. That got rid of the error, but then my site didn't deploy. I got the dreaded "index.html missing" error page.
Expected behavior
I expected the GitHub deploy to work first try without any intervention, as I was using the default firebase init workflow.
Actual behavior
I got a series of two different errors in my GitHub Actions as described above ☝️
Reactions are currently unavailable


