You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I pushed to GitHub to make sure the integration was working and got the following error:
I added the env variable and pushed to master:
I got another error:
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.source key to hosting.public in firebase.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 ☝️
The text was updated successfully, but these errors were encountered:
Hey @deltaepsilon, thanks for the report and for sharing the error logs you encountered. I’m able to reproduce this issue. I'll raise this to our engineering team to see what we can do here, and I’ll be marking this as reproducible.
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
I pushed to GitHub to make sure the integration was working and got the following error:
I added the env variable and pushed to
master
:I got another error:
hosting.source
key tohosting.public
infirebase.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 ☝️
The text was updated successfully, but these errors were encountered: