Has anyone used nodegit in a package and made it work?
I’m trying to replace the means of accessing git history from the git-time-machine package. The currently published version of git-time-machine uses shell to git + stdout scrape and parse method used by several other Atom git packages when I started it.
I wrote a little npm package called libgit2-log-utils that simplifies nodegit’s async hell. When I try to add the libgit2-log-utils package to git-time-machine’s dependencies and reload atom, it gives me an error in the console like this:
“Failed to require the main module of ‘git-time-machine’ because it requires an incompatible native module.
apm rebuild in the package directory to resolve.”
apm rebuild as suggested without remedy.
Of course it might also be the libgit2-log-utils dependency on es6-promise