Closed deltaepsilon closed 3 days ago
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.
Hi,
facing same issue
I had same issue here for an Astro project but got it fixed by adding - run: npm ci e.g: jobs: build_and_deploy: runs-on: ubuntu-latest steps:
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:![image](https://github.com/firebase/firebase-tools/assets/878947/21eea148-ad25-4939-92c1-3a2f4365f0ab)
I added the env variable and pushed to![image](https://github.com/firebase/firebase-tools/assets/878947/d9c77538-70e5-4472-a10f-99a8d45b276f)
master
:I got another error:![image](https://github.com/firebase/firebase-tools/assets/878947/0d08fe6d-74fc-4b13-81d0-788df2787686)
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 ☝️