Reputation: 637
I am trying to incorporate jsPDF to my already existing Vuejs project to generate PDF outputs. However when I run npm i jsPDF --save
in the terminal it gives me an error saying:
npm ERR! code E404
npm ERR! 404 Not Found: jsPDF@latest
How do I fix this problem?
Upvotes: 0
Views: 556
Reputation: 1137
Try with npm install jspdf --save
instead of jsPDF
since the name of a package is case sensitive.
Upvotes: 2
Reputation: 3449
The package on npm is under "jspdf" not "jsPDF" so:
npm install jspdf --save
Upvotes: 1