Closed madox2 closed 3 years ago
I got things working on Ubuntu 16. Details posted here: https://github.com/kimmobrunfeldt/git-hours/issues/34
I get the same error trying to install on Windows 10. I don't think it's a nodegit issue because I installed nodegit separately and it worked.
Having same error on Mint 19, with npm 6.7.0. nodegit is installed without problems
I got exact problem when installing using node v10.16.0
It runs perfectly when I install using node v6.17.1
For anyone cannot install this tool using new version of node, it seems to be a problem with dependency nodegit
.
I assign a specific latest version of nodegit in package.json
, it works fine.
{
"devDependencies": {
"git-hours": "^1.3.0",
"nodegit": "^0.26.1"
},
"resolutions": {
"nodegit": "^0.26.1"
}
}
Should be a workaround (also fixed #43 ) before the author publish the new version
same error here on node 10 on chromebook's debian installation
$ uname -a Linux penguin 4.19.44-04937-gd773af751792 #1 SMP PREEMPT Thu Aug 8 21:43:29 PDT 2019 x86_64 GNU/Linux
apart from this tool's installation node works perfectly
For anyone cannot install this tool using new version of node, it seems to be a problem with dependency
nodegit
. I assign a specific latest version of nodegit inpackage.json
, it works fine.{ "devDependencies": { "git-hours": "^1.3.0", "nodegit": "^0.26.1" }, "resolutions": { "nodegit": "^0.26.1" } }
Should be a workaround (also fixed #43 ) before the author publish the new version
Where is nodegit's package.json when installing -g globally?
Still doesn't work using npm -g install ... Has it not been updated on npm?
After new release 1.5.0, npx git-hours
works again! Tested with node 14, macOS. The node version is probably quite specific.
I am trying to install git-hours on Ubuntu 18.04 and I am getting an error: