Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • P pagedjs-cli
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pagedjs
  • pagedjs-cli
  • Issues
  • #46

Closed
Open
Created Jan 06, 2021 by Boris Budini@kominoshja🛡Owner

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
Assignee
Assign to
Time tracking