You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works great on Windows 11, but when I try to run it in docker with debian:11-slim and node 18.x, it says:
Error: render no longer accepts the `canvasFactory`-option, please pass it to the `getDocument`-function instead.
at PDFPageProxy.render (/home/site/wwwroot/server/node_modules/pdf-to-png-converter/node_modules/pdfjs-dist/legacy/build/pdf.js:4838:13)
at pdfToPng (/home/site/wwwroot/server/node_modules/pdf-to-png-converter/out/pdf.to.png.js:74:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Could you fix it please?
The text was updated successfully, but these errors were encountered:
It works great on Windows 11, but when I try to run it in docker with debian:11-slim and node 18.x, it says:
Error: render no longer accepts the `canvasFactory`-option, please pass it to the `getDocument`-function instead.
at PDFPageProxy.render (/home/site/wwwroot/server/node_modules/pdf-to-png-converter/node_modules/pdfjs-dist/legacy/build/pdf.js:4838:13)
at pdfToPng (/home/site/wwwroot/server/node_modules/pdf-to-png-converter/out/pdf.to.png.js:74:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
It works great on Windows 11, but when I try to run it in docker with
debian:11-slim
andnode 18.x
, it says:Could you fix it please?
The text was updated successfully, but these errors were encountered: