Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: spawn ENOENT #117

Open
adelamarre opened this issue Jun 6, 2014 · 2 comments
Open

Fatal error: spawn ENOENT #117

adelamarre opened this issue Jun 6, 2014 · 2 comments
Labels

Comments

@adelamarre
Copy link

Hi, i have spent a lot of time to find a solution but the error still persists.
I try to completly reinstall nodejs, bower, grunt, try to clean the cahe...nothing.
Environment :

  • EC2, ubuntu 14.04,
  • java version "1.7.0_55"
    OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
    OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
  • nodejs : 0.10.25
  • bower : 1.3.4
  • grunt-cli : 0.1.13
  • grunt : 0.4.5

I have installed grunt-cli, grunt and bower in global (-g).

There is other tasks in my Gruntfile that goes without any error but the bower task fail with this error without any real description of what was wrong...

Running tasks: bower:install

Running "bower:install" (bower) task
[D] Task source: /var/lib/jenkins/workspace/WebFrontEndBuild/node_modules/grunt-bower-task/tasks/bower_task.js
Verifying property bower.install exists in config...OK
File: [no files]
Options: cleanTargetDir=false, cleanBowerDir=false, targetDir="app/bower_components", layout="byComponent", install, verbose, copy=false, bowerOptions={}
Fatal error: spawn ENOENT
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)

Gruntfile.coffee...

...
bower:
      install:
        options:
          targetDir: path + '/bower_components',
          cleanTargetDir: false,
          layout: 'byComponent',
          install: true,
          copy: false,
          verbose: true

but bower work fine if i start it manually...

bower install

I can not find any solution on google so i hope you could help me ;)
Thanks

@traviskaufman
Copy link

+1 having this same issue when trying to install jasmine

@ktilcu
Copy link

ktilcu commented Jul 25, 2014

resolved with new version of grunt-bower-task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants