title: Yeoman/Gulp throwing 'spawn gulp ENOENT' error on a Mac
body: <p><strong>Please note:</strong> I <em>do</em> see <a href="https://stackoverflow.com/questions/28624686/get-spawn-cmd-enoent-when-try-to-build-cordova-application-event-js85">this question</a> as well as <a href="https://stackoverflow.com/questions/32226473/yeoman-gulp-spawn-cmd-enoent">this one</a> but those were <strong>both instances where the developer was on Windows</strong>, and the solution was Windows-specific. <strong>I am on a Mac!</strong> Please don't closevote as a duplicate!!!</p>
  
  <hr>
  
  <p>Mac 10.12.6 here. I'm new to AngularJS (v1.x) and am trying to follow this <a href="https://scotch.io/tutorials/internationalization-of-angularjs-applications" rel="nofollow noreferrer">tutorial on using Yeoman to create an internationalized AngularJS app</a>.</p>
  
  <p>I install the Yeoman AngularJS generator and create a directory for my simple/test app:</p>
  
  <pre><code>npm install -g generator-angular
  mkdir angular-translate-yeoman &amp;&amp; cd $_
  </code></pre>
  
  <p>Then I go to create my internationalization AngularJS app:</p>
  
  <pre><code>yo angular translate
  </code></pre>
  
  <p>It asks me a bunch of questions, <strong>I select <code>gulp</code> instead of <code>grunt</code></strong>, and then starts generating the scaffolding. About a minute later I get the following error:</p>
  
  <pre><code>events.js:160
        throw er; // Unhandled 'error' event
        ^
  
  Error: spawn gulp ENOENT
      at exports._errnoException (util.js:1020:11)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
      at onErrorNT (internal/child_process.js:367:16)
      at _combinedTickCallback (internal/process/next_tick.js:80:11)
      at process._tickCallback (internal/process/next_tick.js:104:9)
  </code></pre>
  
  <p><strong>Anybody have any idea what the problem is and what the fix is?</strong></p>