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

Unknown error #7

Open panda6412 opened 5 years ago

panda6412 commented 5 years ago

{ Error: spawn C:\Users\USER\Desktop\project\print-helper-server\app\lib\win\poppler-0.51\bin\pdftocairo ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:757:11) at Object. (C:\Users\USER\Desktop\project\print-helper-server\node_modules\@babel\node\lib_babel-node.js:234:23) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn C:\Users\USER\Desktop\project\print-helper-server\app\lib\win\poppler-0.51\bin\pdftocairo', path: 'C:\Users\USER\Desktop\project\print-helper-server\app\lib\win\poppler-0.51\bin\pdftocairo', spawnargs: [ [ '-png' ], [ '-scale-to' ], [ 1024 ], 'C:\Users\USER\Desktop\project\print-helper-server\dummy_files\B6_Waybill_V.pdf', 'B6_Waybill_V.pdf\C:\Users\USER\Desktop\project\print-helper-server\dummy_files' ], cmd: 'C:\Users\USER\Desktop\project\print-helper-server\app\lib\win\poppler-0.51\bin\pdftocairo -png -scale-to 1024 C:\Users\USER\Desktop\project\print-helper-server\dummy_files\B6_Waybill_V.pdf B6_Waybill_V.pdf\C:\Users\USER\Desktop\project\print-helper-server\dummy_files' }

pavsmk commented 5 years ago

try to install or update poppler on your system

elm2013 commented 3 years ago

try to install or update poppler on your system

I installed it, but get Error: spawn ./usr/bin/pdftocairo ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)