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 emulators:start --only hosting:TARGET_NAME command does not work #2820

Closed
motiejunas opened this issue Nov 14, 2020 · 2 comments · Fixed by #3166
Closed

firebase emulators:start --only hosting:TARGET_NAME command does not work #2820

motiejunas opened this issue Nov 14, 2020 · 2 comments · Fixed by #3166

Comments

@motiejunas
Copy link

First, I did add a custom target by running firebase target:apply demo my-project. However, when running firebase emulators:start --only hosting:demo I receive the following error message:

Error: hosting:demo is not a valid emulator name, valid options are: ["auth","functions","firestore","database","hosting","pubsub"]

As per documentation (https://firebase.google.com/docs/hosting/multisites?authuser=0#cli-commands-with-deploy-targets) firebase emulators:start --only hosting:TARGET_NAME should emulate the Hosting content and configuration of the specified Hosting site at a locally hosted URL.

@google-oss-bot
Copy link
Contributor

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@samtstern
Copy link
Contributor

@motiejunas thanks for reporting this, seems like a bug in the argument parser!

@bkendall bkendall self-assigned this Feb 23, 2021
This was referenced Mar 9, 2021
This was referenced Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants