Trouble Shooting

Error: spawn rec ENOENT

[혜안] 2017. 9. 4. 21:02
728x90

Problem

$ node recognize.js listen

Listening, press Ctrl+C to stop.

events.js:141

      throw er; // Unhandled 'error' event

      ^


Error: spawn rec ENOENT

    at exports._errnoException (util.js:874:11)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)

    at onErrorNT (internal/child_process.js:344:16)

    at doNTCallback2 (node.js:439:9)

    at process._tickCallback (node.js:353:17)

    at Function.Module.runMain (module.js:469:11)

    at startup (node.js:134:18)

    at node.js:961:3


Solution

sudo apt-get install sox libsox-fmt-all



728x90