vinod krishna
vinod krishna

Reputation: 101

installing jspdf using npm command

problem: npm install jspdf not working

I am trying to install the jspdf in command prompt, but it is not getting installed. Below is the command I tried.

npm install jspdf

When the above command is fired, it stops below place indefinitely and NO ERROR.

fetchMetadata: sill resolveWithNewModule [email protected] checking installable status

Please let me know if any suggestions.

Thanks
vinod

Upvotes: 3

Views: 11373

Answers (4)

Mohanad Haddadin
Mohanad Haddadin

Reputation: 589

there is a problem with the latest version 1.5.3. try installing a previous version. It worked for me:

npm install [email protected] --save

Upvotes: 10

Alvaro
Alvaro

Reputation: 11

Acccording to it's documentation you can install the package using yarn.

yarn add jspdf

I hope it helps.

Upvotes: 1

Antti Kohtamäki
Antti Kohtamäki

Reputation: 11

For some npm dependencies the install process can freeze because of firewall.

Try disabling your firewall or connect to a public network, then run npm install again.

Upvotes: 1

Jacopo Sciampi
Jacopo Sciampi

Reputation: 3432

You can follow the official doc.

Just type npm i jspdf --save in the console and it should work fine.

enter image description here

Upvotes: -3

Related Questions