![]() ![]() (rejection id: 1) (node:53832) DeprecationWarning: Unhandled promise rejections are deprecated. 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. (node:53832) UnhandledPromiseRejectionWarning: Error: Protocol error (Page.printToPDF): PrintToPDF is not implemented undefined at Promise (/Users/matt/Projects/test/node_modules/puppeteer/lib/Connection.js:196:56) at new Promise () at nd (/Users/matt/Projects/test/node_modules/puppeteer/lib/Connection.js:195:12) at Page.pdf (/Users/matt/Projects/test/node_modules/puppeteer/lib/Page.js:771:39) at /Users/matt/Projects/test/index.js:21:14 at (node:53832) UnhandledPromiseRejectionWarning: Unhandled promise rejection. ![]() If I turn off headless then the screenshot renders as expected and the pdf crashes with the following. I'm having a similar issue except both screenshot and pdf both output as white. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |