Just installed it locally as I wanted to give it t shot to estimate hours over the weekend for repository . But on installation I saw that several packages are deprecated and also had one error
pm install -g git-hours
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm error code 1
npm error path /Users/user/.volta/tmp/image/packages/.tmpVi6Zk2/lib/node_modules/git-hours/node_modules/nodegit
npm error command failed
npm error command sh -c node lifecycleScripts/install
npm error /Users/user/.volta/tmp/image/packages/.tmpVi6Zk2/lib/node_modules/git-hours/node_modules/promisify-node/utils/args.js:9
npm error var args = func.toString().match(/function\s.*?\(([^)]*)\)/)[1];
npm error ^
npm error
npm error TypeError: Cannot read properties of null (reading '1')
npm error at module.exports (/Users/user/.volta/tmp/image/packages/.tmpVi6Zk2/lib/node_modules/git-hours/node_modules/promisify-node/utils/args.js:9:63)
npm error at /Users/user/.volta/tmp/image/packages/.tmpVi6Zk2/lib/node_modules/git-hours/node_modules/promisify-node/index.js:79:29
npm error at Array.filter (<anonymous>)
npm error at processExports (/Users/user/.volta/tmp/image/packages/.tmpVi6Zk2/lib/node_modules/git-hours/node_modules/promisify-node/index.js:60:6)
npm error at module.exports (/Users/user/.volta/tmp/image/packages/.tmpVi6Zk2/lib/node_modules/git-hours/node_modules/promisify-node/index.js:112:10)
npm error at Object.<anonymous> (/Users/user/.volta/tmp/image/packages/.tmpVi6Zk2/lib/node_modules/git-hours/node_modules/nodegit/generate/scripts/generateNativeCode.js:3:13)
npm error at Module._compile (node:internal/modules/cjs/loader:1546:14)
npm error at Object..js (node:internal/modules/cjs/loader:1689:10)
npm error at Module.load (node:internal/modules/cjs/loader:1318:32)
npm error at Function._load (node:internal/modules/cjs/loader:1128:12)
npm error
npm error Node.js v22.11.0
npm error A complete log of this run can be found in: /Users/user/.npm/_logs/2025-09-08T01_08_15_300Z-debug-0.log
Just installed it locally as I wanted to give it t shot to estimate hours over the weekend for repository . But on installation I saw that several packages are deprecated and also had one error