I have recently added some dependencies to the package.JSON and tried installing npm . but it shows errors related to git not found
Error Screenshot
You need to install git in your machine to have it working.
git
undefined ls-remote -h -t ssh://git@github.com/eligrey/FileSaver.js.git
it should have been
git ls-remote -h -t ssh://git@github.com/eligrey/FileSaver.js.git
There is error related to git path. check this ls-remote command