Hi Got the following error when i ran a report
Protocol error (Page.printToPDF): paper width is zero or negative
ProtocolError: Protocol error (Page.printToPDF): paper width is zero or negative
at new Callback (/var/www/html/jsreport/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:62:35)
at CallbackRegistry.create (/var/www/html/jsreport/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:108:26)
at Connection._rawSend (/var/www/html/jsreport/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:224:26)
at CDPSessionImpl.send (/var/www/html/jsreport/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:433:78)
at CDPPage.createPDFStream (/var/www/html/jsreport/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:738:88)
at CDPPage.pdf (/var/www/html/jsreport/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:771:37)
at /var/www/html/jsreport/node_modules_old/@jsreport/jsreport-chrome-pdf/lib/conversion.js:382:27
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /var/www/html/jsreport/node_modules_old/@jsreport/jsreport-chrome-pdf/lib/conversion.js:423:22
Can you say why this error came ? and how to fixs it ?