localess icon indicating copy to clipboard operation
localess copied to clipboard

Firebase Deployment Fails Due to Unresolved Hosting Site or Target

Open LTOpen opened this issue 1 year ago • 3 comments

I encountered an issue while attempting to deploy a forked project to Firebase using Google Cloud Build. The project builds successfully; however, the deployment process fails with an error indicating that no hosting site or target has been specified.

Steps to Reproduce:

  • Fork the project.
  • Set up Google Cloud Build and Firebase
  • Build and deploy

Actual Result:

The deployment process fails with the following error message: "Error: No site or target specified for deployment."

Troubleshooting Attempts:

I tried specifying the hosting site explicitly using the command: firebase deploy --only=hosting:site_name. However, a new error message was encountered: "Error: Hosting site or target not detected in firebase.json."

Request: I kindly request assistance in resolving this deployment issue. It's unclear whether the error stems from a misconfiguration within the firebase.json file or an issue with Firebase deployment commands.

Thank you for your attention to this matter.

LTOpen avatar May 06 '24 07:05 LTOpen

Hello @LTOpen , have you tried to open the Host tab in the Firebase Console?

https://localess.org/docs/getting-started#hosting

By default, it will be deployed in the default hosting site, the hosting is created when you open the Hosting tab.

I'm currently working to Localess as Firebase Extension, and all processes will be done automatically, just by pressing the Install button #53

alexcibotari avatar May 15 '24 13:05 alexcibotari

Got it, thanks for your response. I have tried, but unfortunately, I still encountered a problem. I hope the extension can be released soon.

LTOpen avatar Jun 05 '24 05:06 LTOpen

In case you need help , I can help you to setup the project

alexcibotari avatar Jun 05 '24 09:06 alexcibotari