-
-
Notifications
You must be signed in to change notification settings - Fork 744
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
Error: spawn EACCES #54
Comments
Same error! Nearly same system (node v.0.10.25). |
+1 here My config : |
My error log is a little bit different:
My config: node: v0.10.26 |
From the readme:
|
I tried to install manually phantom via brew and then install pageres but it still throws the same error :/ |
Unfortunately I'm running into the same issue. I tried installing phantomjs manually via brew but it still throws the same error. |
Add x to the file and fixed. I'm not sure the risk but it work. |
same for me same error events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn EACCES
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34) -_- |
for anyone still missing out -- this is the way I got pageres to be happy# if you installed phantomjs with node do this first
> npm -g rm phantomjs
#then
> brew update && brew install phantomjs
# finally
> npm install --global pageres
## restart shell just in case
## and there you have it :) I'm happy to report that it's working perfectly [OSX Mavericks 10.9] |
HUGE UPS to @sindresorhus THANKS FOR ALL YOU DO FOR THE DEV COMMUNITY BRO!! :) all star shazam! for real thanks a million bro. |
@jwebcat: Thanks, but I did exactly that and the error still shows up :( |
Did you try giving the file chmod go+x like from the fix vehicles by On March 19, 2014 4:22:11 AM Henrik Cederblad notifications@github.com wrote:
|
Had the same error. Fixed by: # If running without sudo doesn't work, you can either fix your permission problems
# or change where npm stores global packages by putting ~/npm/bin in your PATH and running:
$ npm config set prefix ~/npm |
got same problem.. i am trying to a .js file using child_process - execFile() inside a node module. |
@thomasklemm fix worked for me. |
for those who are still stuck in this,It is just the access problem. |
Bad but efficient method: |
@sank64, it's bad practice to use |
Running the example command …
Gives this error:
And …
❯ sudo !!
… gives the following warning:
… in which I did the latter part, i.e. adding
~/npm/bin
in my$home
(had to create the directory) and include it in my$PATH
.Still the same error. Any clues?
Versions of binaries
node 0.10.24
npm 1.3.21
pageres 0.2.3
phantomjs 1.9.7 (The one that came as a dependency when installing pageres)
OS
Mac OS X 10.9.1
The text was updated successfully, but these errors were encountered: