alafr / SVG-to-PDFKit

Insert SVG into a PDF document created with PDFKit
MIT License
397 stars 111 forks source link

Corrupted tarball #144

Open 8lall0 opened 3 years ago

8lall0 commented 3 years ago

Hi, i keep getting this error while i try npm install on my project:

npm WARN tarball tarball data for svg-to-pdfkit@https://github.com/alafr/SVG-to-PDFKit/tarball/master (sha512-Prh/h9CB1jBCBIjSLD6kvIWhMV5S25Bwv7yK0fYJSOTIyg1CmU9OqNdRVCkdWyQY1Hkvm+1YdXJzh3xYupq1KA==) seems to be corrupted. Trying again.

Can you help me? thanks

Tha14 commented 2 years ago

I'll bump this, I am getting the same error. Anyone can provide some guidance?

8lall0 commented 2 years ago

Right now i work-arounded it by removing the package-lock.json.

That's not the best solution but for a new project is not a big deal.

Keeping this open, hoping for a better solution.

Tha14 commented 2 years ago

Right now i work-arounded it by removing the package-lock.json.

That's not the best solution but for a new project is not a big deal.

Keeping this open, hoping for a better solution.

I did the same thing eventually and it worked afterwards. This shouldn't be necessary but at least there is an answer for anyone who has encountered the same problem.