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://git@github.com/eligrey/FileSaver.js.git
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.

1 Like

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

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.