Grunt.js Fatal error: spawn ENOENT

Today I installed Yeoman 1.0.0-rc.1.1 on Mac 10.8.4., but got a Fatal error: spawn ENOENT error after Grunting a fresh Yeoman generated webapp.

Several GISs later, Java was revealed as the culprit.

Oh yeah, Java!

Oracle’s Java version 7u17 and below have been disabled by Apple on OS X. Updating to the latest release will allow Java to be run on Mac OS X.

Updating Java resolved the issue for me.

If you’re having issues with PhantomJS, check your Java.

Tagged , , , ,
  • Ilya Radchenko

    Thanks, was getting stumped by this issue, and only in my vagrant setup. Fixing it now.

  • murphyrandle