action-hosting-deploy icon indicating copy to clipboard operation
action-hosting-deploy copied to clipboard

[BUG] Unable to setup Firebase Hosting

Open JamesVanWaza opened this issue 4 years ago • 5 comments

I am trying to setup Firebase Hosting, since I had already setup Hosting before, when i run the following

firebase init hosting:github i keep getting the following error - see screenshot below. Screen Shot 2021-08-08 at 5 35 52 PM

This is my workflows/hosting.yml file

- name: Deploy to Firebase Hosting
  uses: FirebaseExtended/action-hosting-deploy@v0

JamesVanWaza avatar Aug 08 '21 21:08 JamesVanWaza

What version of the Firebase CLI do you have? Can you please update to the latest version and try again?

mbleigh avatar Aug 09 '21 03:08 mbleigh

@mbleigh says 8.6.0and I have already tried updating to 9.16.5 but no luck.

JamesVanWaza avatar Aug 14 '21 20:08 JamesVanWaza

@mbleigh, I am still unable to set up Firebase Actions please assist. I run the following command npm install -g firebase-tools but version is still 8.6.0

JamesVanWaza avatar Sep 12 '21 22:09 JamesVanWaza

@mbleigh, I was finally able to update the version of Firebase and setup Firebase Hosting, but now the error, I keep getting is after running the action, I keep getting the error unable to find html-webpack-plugin even though, I have installed it.

JamesVanWaza avatar Nov 05 '21 01:11 JamesVanWaza

@mbleigh , continued progress so far. Thanks to the new version of firebase init, I can set it up automatically. However, the only challenge I have right now is, in the main project, I have 10 different sites and even though I for firebase hosting they all have different domains, the files are pushing to one domain. What is the right way to deploy, to different domains if all the apps, use the same project name?

JamesVanWaza avatar Nov 28 '21 18:11 JamesVanWaza

I think your question is better suited for the Firebase Community, stack overflow, or the firebase/firebase-tools repo.

bkendall avatar Oct 14 '22 20:10 bkendall