title: Node js + imagemagick + Error: spawn ENOENT
body: <p>Hi am trying to implement Imagemagick package using node.js</p>
  
  <p>I added my following code.</p>
  
  <pre><code>var im = require('imagemagick');
  
  router.post('/conversation/start', function(req, res) {
  
      var args = ["/public/images/team/rajini.jpg", "-crop", "120x80+30+15", "output.png"];
  
      im.convert(args, function(err) {
          if (err) {
              throw err;
          }
          res.end("Image crop complete");
      });
  });
  </code></pre>
  
  <p>But i getting the following error in terminal.</p>
  
  <pre><code>events.js:72
          throw er; // Unhandled 'error' event
                ^
  Error: spawn ENOENT
      at errnoException (child_process.js:988:11)
      at Process.ChildProcess._handle.onexit (child_process.js:779:34)
  npm ERR! weird error 8
  npm WARN This failure might be due to the use of legacy binary "node"
  npm WARN For further explanations, please read
  /usr/share/doc/nodejs/README.Debian
  </code></pre>