kb47 / pdf-poppler

Convert PDF files into images using Poppler with promises. It achieves 10x faster performance compared to other PDF converters.
MIT License
50 stars 20 forks source link

Internal Error: Cannot handle URI #17

Open Manasseh-Ankrah opened 2 years ago

Manasseh-Ankrah commented 2 years ago

I'm unable to convert PDF URI to jpeg.

Manasseh-Ankrah commented 2 years ago

node:internal/errors:841 const err = new Error(message); ^

Error: Command failed: C:\Users\Manasseh Ankrah\Documents\Projects\i-sticker\backend\node_modules\pdf-poppler\lib\win\poppler-0.51\bin\pdfinfo https://v.nicmid.com/STSAC20961459074225052.pdf Internal Error: Cannot handle URI 'https://v.nicmid.com/STSAC20961459074225052.pdf'.

at ChildProcess.exithandler (node:child_process:398:12)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket.<anonymous> (node:internal/child_process:451:11)
at Socket.emit (node:events:527:28)
at Pipe.<anonymous> (node:net:709:12) {

code: 1, killed: false, signal: null, cmd: 'C:\Users\Manasseh Ankrah\Documents\Projects\i-sticker\backend\node_modules\pdf-poppler\lib\win\poppler-0.51\bin\pdfinfo https://v.nicmid.com/STSAC20961459074225052.pdf' }