You need to install git
in your machine to have it working.
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