npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

JSPDF install error in angular 8

npm install jspdf --save
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Do you have git installed?

git --version

One of the dependencies of jspdf is specified as a git repository rather than an npm package, so you need to have git installed too.

ok… without git its not possible?
is there any other package simillar to jspdf which does not require git install