Skip to content

failed to read configuration #1948

Closed
Closed

Description

@davesbrown

Describe the bug and steps to reproduce

Installed gh cli using windows MSI installer release 1.0.0
Opened powershell terminal and typed gh --version

D:\DEV\Source\Repos> gh auth login
failed to read configuration: open F:.config\gh/config.yml: The device is not ready.
D:\DEV\Source\Repos> gh --version
failed to read configuration: open F:.config\gh/config.yml: The device is not ready.

I do not have an F: drive

Expected vs actual behavior

hoping to at least see gh --version

Logs

see above

Activity

  1. added
    bug
    on Sep 24, 2020
  2. Okeakwalam27 commented on Sep 24, 2020

    @Okeakwalam27
  3. davesbrown commented on Sep 24, 2020

    @davesbrown
    Author

    From which device are you using?

    Windows 10 powershell 5.1 terminal D drive
    D:\DEV\Source\Repos> gh --version

  4. mislav commented on Sep 25, 2020

    @mislav
    Contributor

    @davesbrown Hi, can you check your environment variables: HOME, USERPROFILE, HOMEDRIVE, HOMEPATH? #1835 (comment)

    E.g. in PowerShell

    echo $env:HOMEDRIVE
    
  5. added
    more-info-needed
    on Sep 25, 2020
  6. davesbrown commented on Sep 25, 2020

    @davesbrown
    Author

    Well how about that, I guess that explains a lot

    C:\WINDOWS\system32> echo $env:HOMEDRIVE
    F:

    I suppose if I change that to
    D:

    In theory should work? (not sure why it's set to F:)

    Yes that worked, thanks @mislav now hopefully it's not set by group policy and reverts or deletes

  7. SUMIT1249 commented on Sep 25, 2020

    @SUMIT1249
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

    bugmore-info-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions