neocotic / convert-svg

Node.js packages for converting SVG into other formats using headless Chromium
MIT License
200 stars 47 forks source link

chromium dependency #72

Closed Njolf closed 2 years ago

Njolf commented 3 years ago

I've been trying to use this package, however it keeps giving me the error about chromium revision not being downloaded. i've seen the issue opened (& closed) by CeamKrier, however i'd prefer to not use puppeteer just for this. i've tried searching for the dependency myself, and i have downloaded a couple, but it didn't help. i also tried looking at the dependencies on npm, but again, nothing of use was there. also running "npm install" didn't help either. can you specify which npm package needs to be downloaded, please?

neocotic commented 2 years ago

I'm sorry for the long delay in replying in responding to you but life sometimes gets in the way of OSS development. I thank you for your patience and, although I'm closing this issue out, I hope you'll be glad to know that I've released 0.6.0 today.

I'm not sure if this will help but the main packages to use are convert-svg-to-png (for PNG files) and convert-svg-to-jpeg (for JPEG files). These packages depend on Puppeteer so it's unfortunately not optional.

If you continue to have this problem, please raise a new ticket with reproducible steps and logs to detail the problems you're facing. I hope you can understand my delay.