node-unoconv
node-unoconv copied to clipboard
Error: spawn ENOENT on Mac OS
I run this:
var unoconv = require('unoconv');
unoconv.convert('document.docx', 'pdf', function (err, result) {
});
And I have such error:
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
I have no idea what to do =(
This error too.
I solved this problem by running unoconv via command line functions in nodejs. Maybe it will help you.
@AlexMoroz how did you run unoconv?
@dg92 it was 3 years ago, sorry, cannot help you :)
@AlexMoroz Ok Thanks.
I'm here because I didn't install unoconv. Make sure you install unoconv.