thnew / Pdf2Png

A NodeJS module, converting PDFs to PNG
27 stars 30 forks source link

[ERR_INVALID_CALLBACK]: Callback must be a function #12

Open MasMedIm opened 5 years ago

MasMedIm commented 5 years ago
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
    at makeCallback (fs.js:137:11)
    at Object.unlink (fs.js:936:14)
    at C:\[DIR]\node_modules\pdf2png-mp2\lib\pdf2png.js:53:6
    at ChildProcess.exithandler (child_process.js:280:7)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

I can't currently use this library because of that problem. Is there any solution ?

Thank you !

thnew commented 5 years ago

Sorry for the late answer. I didn’t prepare the package for TypeScript yet, sorry