node-gh / gh

(DEPRECATED) GitHub CLI made with NodeJS. Use the official https://cli.github.com/ instead.
http://nodegh.io
Other
1.71k stars 217 forks source link

Sending pull request using gh pr -s username fail due to 404 #552

Closed dantewang closed 6 years ago

dantewang commented 6 years ago

gh version: 1.12.13

Error message:

{ [Error: {"message":"Not Found","documentation_url":"https://developer.github.com/v3/pulls/#create-a-pull-request"}]
  message: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/pulls/#create-a-pull-request"}',
  code: 404 }

npm install -g gh shows the following warning:

npm WARN deprecated github@ 0.2.4: 'github' has been renamed to '@ octokit/rest' (https://git.io/vNB11)
dantewang commented 6 years ago

Other gh features that I often use still work, like listing open pull requests and fetching pull request.

dantewang commented 6 years ago

It's working again. Close.

protoEvangelion commented 6 years ago

@dantewang Thanks for the update 👍