8000 Error when logging in - undefined · Issue #256 · node-gh/gh · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Error when logging in - undefined #256

8000
Closed
pgilad opened this issue Feb 20, 2014 · 6 comments
Closed

Error when logging in - undefined #256

pgilad opened this issue Feb 20, 2014 · 6 comments
Assignees
Labels
Milestone

Comments

@pgilad
Copy link
pgilad commented Feb 20, 2014

I can't seem to authenticate with the API:

C:\repositories\gamestab>gh alias
gh First we need authorization to use GitHub's API. Login with your GitHub account.
[?] Enter your GitHub user: pgilad
[?] Enter your GitHub password: ********
gh [error] undefined

If I enter a wrong password then It says invalid password, but with the correct password it doesn't login.

Using latest Git/node/windows 7

@zenorocha
Copy link
Contributor

Hey @pgilad,

Are you using two-factor authentication?

@zenorocha zenorocha added the bug label Feb 20, 2014
@pgilad
Copy link
Author
pgilad commented Feb 20, 2014

no

@rschmukler
Copy link
Contributor

@pgilad I just ran into this today as well on a fresh install on my new box. I am using Node v0.10.24 on OS X 10.9.2

@pgilad
Copy link
Author
pgilad commented Mar 4, 2014

👻

@rschmukler
Copy link
Contributor

I was able to fix by generating the ~/.gh.json file

{
  "github_user": "rschmukler",
  "github_token": "XXXXX"
}

@zenorocha
Copy link
Contributor

Fixed at #271

@zenorocha zenorocha modified the milestones: 1.8.4, 1.8.5 Mar 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
0