Puppeteer not finding browser revision
juan.gomez@head-ws-009264 cover-triangle % sudo pagedjs-cli contreras-cover.html -o result.pdf
◴ Loading: contreras-cover.html(node:14993) UnhandledPromiseRejectionWarning: Error: Could not find browser revision 818858. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.
at ChromeLauncher.launch (/usr/local/lib/node_modules/pagedjs-cli/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:79:23)
at async Printer.setup (/usr/local/lib/node_modules/pagedjs-cli/src/printer.js:47:21)
at async Printer.render (/usr/local/lib/node_modules/pagedjs-cli/src/printer.js:61:7)
at async Printer.pdf (/usr/local/lib/node_modules/pagedjs-cli/src/printer.js:269:16)
at async /usr/local/lib/node_modules/pagedjs-cli/bin/paged:147:14
(Use `node --trace-warnings ...` to show where the warning was created)
(node:14993) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:14993) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
◷ Loading: contreras-cover.html