10000 Unable to use 'gh auth login' without manually creating '.config/gh/config.yml' file on windows. · Issue #3665 · cli/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to use 'gh auth login' without manually creating '.config/gh/config.yml' file on windows. #3665
Closed
@benmcgarry

Description

@benmcgarry

Describe the bug

Unable to use 'gh auth login' without manually creating '.config/gh/config.yml' file on windows.

Steps to reproduce the behavior

  1. Install GitHub CLI 1.10.1
  2. Run 'gh auth login'
  3. Auth via Browser

Expected vs actual behavior

Expected: Authentication successful.
Actual:
image

Manually creating the file referenced results in a successful auth.

Logs

E:>gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Login with a web browser

! First copy your one-time code: XXX-XXX
Press Enter to open github.com in your browser...
failed to authenticate via web browser: open C:\Users\benmc\.config\gh\config.yml: The system cannot find the path specified.

GitHub CLI 1.10.1
Windows 10 Pro 21H1 19043.985

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0