title: Nodejs Youtube : Spawn unknown error
body: <p>My code in nodejs is like this :-</p>
  
  <pre><code>var fs = require('fs');
  var youtubedl = require('youtube-dl');
  var video = youtubedl('http://www.youtube.com/watch?v=90AiXO1pAiA',
    // Optional arguments passed to youtube-dl.
  
    // Additional options can be given for calling `child_process.execFile()`.
    );
  
  // Will be called when the download starts.
  
  video.on('info', function(info) {
    console.log('Download started');
    console.log('filename: ' + info.filename);
    console.log('size: ' + info.size);
  });
  
  video.pipe(fs.createWriteStream('myvideo.mp4'));
  </code></pre>
  
  <p>I get this error:-</p>
  
  <blockquote>
    <p>SPAWN unknown</p>
  </blockquote>
  
  <p>You can also suggest an alternative way of making youtube downloader.</p>