Home » vue » Incorporating jsPDF to your already existing Vuetify project

Incorporating jsPDF to your already existing Vuetify project

Posted by: admin November 26, 2021 Leave a comment

Questions:

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: [email protected]

How do I fix this problem?

Answers:

Try with npm install jspdf --save instead of jsPDF since the name of a package is case sensitive.

###

The package on npm is under “jspdf” not “jsPDF” so:

npm install jspdf --save