Html file loading freezing
After installation with npm install -g pagedjs-cli
tried to generate simple pdf file with command pagedjs-cli 1.html -o 1.pdf
. But loading html file freezed with a few warning before
pagedjs-cli 1.html -o 1.pdf
- Loading: 1.html(node:25656) ExperimentalWarning: The fs.promises API is experimental | Loading: 1.html(node:25656) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'C:\Users\XXX\AppData\Roaming\npm\node_modules\pagedjs\dist\paged.polyfill.js' (node:25656) 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:25656) [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: 1.html
Could you please assist with that ?