question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix nodegit auth problems

See original GitHub issue

As discussed in #142, there seem to be several problems with nodegit not cloning the flow-typed repo because of authentication errors. Maybe there is a way to set some kind of https:// cloning in nodegit?

Also there seem to be bugs of nodegit not setting a remote master for the cloned repo, which causes the pull origin master to fail. Maybe that’s a side-effect of the unsuccessful clone tho.

(EDIT: we are using a https:// url anyways: https://github.com/flowtype/flow-typed/blob/master/cli/src/lib/libDefs.js#L27)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jeffmocommented, Sep 7, 2016

Ok, just committed https://github.com/flowtype/flow-typed/pull/293 which changes the code to use http by default. I’ll publish beta.7 now and we can see how it goes

EDIT: Now published – go try it out (npm install -g flow-typed@2.0.0-beta.7)

0reactions
jeffmocommented, Sep 7, 2016

woo! Ok, I’ll close this now and we can see if any more reports come in post-beta.7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use credentials to work with nodegit.push on Windows
Enable the ssh agent locally (automatically runs on OS X): https://code.visualstudio.com/docs/remote/troubleshooting#_setting-up-the-ssh- ...
Read more >
nodegit/nodegit - Gitter
Hi, I'm having problems with Cred.sshKeyMemoryNew. I have ssh keys as strings for a private github account, but when I try and use...
Read more >
nodegit | Yarn - Package Manager
NodeGit. Node bindings to the libgit2 project. ... Have a problem? Come chat with us! Visit slack.libgit2.org to sign up, then join us...
Read more >
Manipulating git repositories with Node.js - Radek Pazdera
Authentication. In case your repository isn't openly available, you may need to authenticate via http or ssh. Nodegit can do that via ...
Read more >
Vuforia studio authentication issue – Unable to login
Solved: Hello, I have noticed many others have flagged this issue but I cant ... [06/11/2018 19:12:30] warn: [twx-studio:gitUtils] nodegit is not installed....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found