mrafiqk / html-pdf-node

190 stars 118 forks source link

Downloading Chromium during installation #40

Closed jahasielserna closed 2 years ago

jahasielserna commented 3 years ago

Why is the package trying to download chromium? It is not even listed as a dependency or as a package, is it intentional? The user should at least be asked to confirm this external installation, but does not request any confirmation. image

clarkmcc commented 3 years ago

This is automatically performed by Puppeteer. Chromium is not an NPM dependency or package and is required to exist on the host machine in order for this package (and the Puppeteer driver) to function properly. Check out this section for a default explanation of what's going on.

mrafiqk commented 2 years ago

@jahasielserna Puppeteer is using Chromium also it is not a npm package it is a browser to load your html content or url.