node-unoconv icon indicating copy to clipboard operation
node-unoconv copied to clipboard

Error: spawn ENOENT on Mac OS

Open AlexMoroz opened this issue 11 years ago • 6 comments

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 =(

AlexMoroz avatar Feb 23 '14 09:02 AlexMoroz

This error too.

m4a1fox avatar Apr 08 '14 09:04 m4a1fox

I solved this problem by running unoconv via command line functions in nodejs. Maybe it will help you.

AlexMoroz avatar Apr 08 '14 09:04 AlexMoroz

@AlexMoroz how did you run unoconv?

dg92 avatar Apr 02 '17 12:04 dg92

@dg92 it was 3 years ago, sorry, cannot help you :)

AlexMoroz avatar Apr 02 '17 12:04 AlexMoroz

@AlexMoroz Ok Thanks.

dg92 avatar Apr 02 '17 12:04 dg92

I'm here because I didn't install unoconv. Make sure you install unoconv.

peirceb avatar Sep 11 '17 15:09 peirceb