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
  • #55

Closed
Open
Created Jul 27, 2021 by Boris Budini@kominoshja🛡Owner

print-css.rocks "grid" -> unhandled error

https://github.com/zopyx/print-css-rocks/tree/master/lessons/lesson-grid

fails (pagedjs-cli 0.1.3):

timeout --foreground -s 9 10 pagedjs-cli -i index.html -o pagedjs.pdf
◴ Loading: index.html(node:1687786) UnhandledPromiseRejectionWarning: Error: Evaluation failed: ProgressEvent
    at ExecutionContext._evaluateInternal (/usr/local/lib/node_modules/pagedjs-cli/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ExecutionContext.evaluate (/usr/local/lib/node_modules/pagedjs-cli/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
    at async Printer.render (/usr/local/lib/node_modules/pagedjs-cli/src/printer.js:191:5)
    at async Printer.pdf (/usr/local/lib/node_modules/pagedjs-cli/src/printer.js:297:16)
    at async /usr/local/lib/node_modules/pagedjs-cli/bin/paged:162:14
(node:1687786) 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:1687786) [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: index.htmlmake: [../Makefile:17: pagedjs] Error 124 (ignored)
Edited Jul 27, 2021 by Boris Budini
Assignee
Assign to
Time tracking