Open fakoua opened 11 months ago
If you have Docker installed, you can spin up a node 16 container and install this package in it (if you don't want to pollute your machine with older versions of node).
run this docker command in your repo root.
docker run -it --name my-node16-container -v .:/app node:16 /bin/bash
npm i git-hours -g
cd app && git-hours
I am dealing with this issue. Haven't tried using older node versions tho. Just wanted to add my error message too in case it gives developers any more info.
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'git-hours@1.5.0',
npm warn EBADENGINE required: { node: '^14.x' },
npm warn EBADENGINE current: { node: 'v20.15.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated npmlog@4.1.2: This package is no longer supported.
npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
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 uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated osenv@0.1.5: This package is no longer supported.
npm warn deprecated gauge@2.7.4: This package is no longer supported.
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future