PDF rendering (of test) fails
I followed the installation instructions but the PDF rendering of the rest sample fails:
$ pagedjs-cli ./test/samples/aurorae/index.html -o result.pdf
◴ Loading: ./test/samples/aurorae/index.html(node:28433) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/pagedjs/dist/paged.polyfill.js'
-- ASYNC --
at Frame.<anonymous> (/usr/local/lib/node_modules/pagedjs-cli/node_modules/puppeteer/lib/helper.js:111:15)
at Page.addScriptTag (/usr/local/lib/node_modules/pagedjs-cli/node_modules/puppeteer/lib/Page.js:378:29)
at Page.<anonymous> (/usr/local/lib/node_modules/pagedjs-cli/node_modules/puppeteer/lib/helper.js:112:23)
at Printer.render (/usr/local/lib/node_modules/pagedjs-cli/src/printer.js:113:16)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async Printer.pdf (/usr/local/lib/node_modules/pagedjs-cli/src/printer.js:187:16)
at async /usr/local/lib/node_modules/pagedjs-cli/bin/paged:125:14
(node:28433) 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(). (rejection id: 1)
(node:28433) [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: ./test/samples/aurorae/index.html
The last loading
tasks hangs and runs "forever"...