Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

spawn ENOENT on OSX #15

Closed
mischkew opened this issue Sep 24, 2014 · 11 comments
Closed

spawn ENOENT on OSX #15

mischkew opened this issue Sep 24, 2014 · 11 comments
Labels

Comments

@mischkew
Copy link

Hi,

I run into this error when executing grunt download-atom-shell on Mavericks:

Running "download-atom-shell" task
Fatal error: spawn ENOENT

The Atom.app package works as expected though my grunt tasks abort because of the error reports. Could be similar to #8?

I use node v0.10.31 and download-atom-shell v0.8.2.

Any help is appreciated.
Thanks!

@kevinsawicki
Copy link
Contributor

Can you include the output of running grunt download-atom-shell --stack?

@mischkew
Copy link
Author

Sure. Here you go:

Running "download-atom-shell" task
Fatal error: spawn ENOENT
Error: spawn ENOENT
    at errnoException (child_process.js:1001:11)
    at Process.ChildProcess._handle.onexit (child_process.js:792:34)

@megubyte
Copy link

This also affects me. Is there any sort of ETA on when it will be fixed?

@kevinsawicki
Copy link
Contributor

@michealharker Are you seeing the same stack trace when running grunt with the --stack option?

@megubyte
Copy link

Indeed I do, @kevinsawicki

@kevinsawicki
Copy link
Contributor

Can you include the output from grunt download-atom-shell --verbose?

kevinsawicki added a commit that referenced this issue Oct 21, 2014
@megubyte
Copy link

Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK

Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/michealharker/daemon-new/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/michealharker/daemon-new/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify

Registering "grunt-download-atom-shell" local Npm module tasks.
Reading /Users/michealharker/daemon-new/node_modules/grunt-download-atom-shell/package.json...OK
Parsing /Users/michealharker/daemon-new/node_modules/grunt-download-atom-shell/package.json...OK
Loading "download-atom-shell-task.coffee" tasks...OK
+ download-atom-shell
Loading "Gruntfile.js" tasks...OK
+ default

Running tasks: download-atom-shell

Running "download-atom-shell" task
Verifying properties download-atom-shell.version, download-atom-shell.outputDir exist in config...OK
Installing cached atom-shell v0.18.1.
Rebuilding native modules for new atom-shell version v0.18.1.
Fatal error: spawn ENOENT

@kevinsawicki
Copy link
Contributor

@michealharker and @01Track1mp3 I just published a new version 0.10.0, can you try it out and report back the errors?

@kevinsawicki
Copy link
Contributor

@michealharker Looks like it is failing to find apm when rebuilding the modules, you can either install apm or set the rebuild config to false.

@megubyte
Copy link

@kevinsawicki The new version works well, even without the rebuild value being set to false. Thanks!

@kevinsawicki
Copy link
Contributor

Okay, thanks I'm going to close this issue out then.

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

No branches or pull requests

3 participants