Skip to content

firebase init hosting:github not working on 9.13 #3498

Closed

Description

@junaga

Environment info

$ uname -a
Linux hs-win-box 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 GNU/Linux
$ npx firebase --version
9.13.0

Test case

Install Firebase CLI v9.13
npm init -y && npm install firebase-tools@latest

Try to run this
npx firebase init hosting:github

Expected behavior

It should have taken me through the Firebase Hosting GitHub Action wizard.

Actual behavior

$ npx firebase --debug init hosting:github
[2021-06-16T19:09:09.015Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[2021-06-16T19:09:09.015Z] > authorizing via signed-in user ([email protected])

Error: hosting:github is not a supported feature; must be one of database, firestore, functions, hosting, storage, emulators, remoteconfig.

Where it's broken

It works on 1.12, i downgraded to use this feature. I don't wanna deal with Service Accounts as a newbie. TY guys for the product, I Love Firebase.

Activity

  1. google-oss-bot commented on Jun 16, 2021

    @google-oss-bot
    Collaborator

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

  2. samtstern commented on Jun 17, 2021

    @samtstern
    Contributor

    Ah yes this was probably caused by this PR:
    #3449

    I'll get a fix ready!

  3. junaga commented on Jun 17, 2021

    @junaga
    Author

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions