Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase Deployment Fails Due to Unresolved Hosting Site or Target #54

Open
LTOpen opened this issue May 6, 2024 · 3 comments
Open
Labels
help wanted Extra attention is needed

Comments

@LTOpen
Copy link

LTOpen commented May 6, 2024

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.

@alexcibotari
Copy link
Contributor

alexcibotari commented May 15, 2024

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 alexcibotari added the help wanted Extra attention is needed label May 15, 2024
@LTOpen
Copy link
Author

LTOpen commented Jun 5, 2024

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

@alexcibotari
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants