Skip to content

bug: Onboarding/setup issue (previously resolved, but is now an issue again. #4437

Closed

Description

@byronaltice

Description:

I'm having the same issue as this: #4228 (comment)

Steps to Reproduce:

Same as in the link... except that I am using the id generated by the Ionic Hub
ionic link <some-id>

I select GitHub in the terminal.

Does the respository exist on Github? (Y/n) Y

To continue we need you to authorize Ionic Appflow... Open browser: (Y/n) Y

This sends me to: https://github.com/login/oauth/authorize?response_type=code

Which just gives me the usual github 404 error.

Output:

> ionic link <some-id>                                                                
 Looking up app <some-id> - done!                                                                                         
                                                                                                                         
INFO] Ionic Appflow uses a git-based workflow to manage app updates.                                                     
                                                                                                                         
      You will be prompted to set up the git host and repository for this new app. See the docs[1] for more              
      information.                                                                                                       
                                                                                                                         
      [1]: https://ion.link/appflow-git-basics                                                                           
                                                                                                                         
 Which git host would you like to use? GitHub                                                                            
                                                                                                                         
INFO] In order to link to a GitHub repository the repository must already exist on GitHub.                               
INFO] If the repository does not exist please create one now before continuing.                                          
                                                                                                                         
      If you're not familiar with Git you can learn how to set it up with GitHub here:                                   
                                                                                                                         
      https://help.github.com/articles/set-up-git/                                                                       
                                                                                                                         
      You can find documentation on how to create a repository on GitHub and push to it here:                            
                                                                                                                         
      https://help.github.com/articles/create-a-repo/                                                                    
 Does the repository exist on GitHub? Yes                                                                                
 Looking up your GitHub repositories - failed!                                                                           
                                                                                                                         
INFO] GitHub OAuth setup required.                                                                                       
                                                                                                                         
      To continue, we need you to authorize Ionic Appflow with your GitHub account. A browser will open and prompt you   
      to complete the authorization request. When finished, please return to the CLI to continue linking your app.       
 Open browser: Yes                                                                                                       
 Authorized and ready to continue: (Y/n)                                                                                 

My ionic info:


Ionic:

   Ionic CLI                     : 5.4.16
   Ionic Framework               : @ionic/angular 4.11.10
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : not available
   Cordova Plugins   : not available

Utility:

   cordova-res (update available: 0.14.0) : 0.6.0
   native-run                             : not installed

System:

   NodeJS : v10.16.3 (/usr/bin/node)
   npm    : 6.14.4
   OS     : Linux 4.4

Other Information:

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

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions