Coder Social home page Coder Social logo

Comments (5)

marcos-abreu avatar marcos-abreu commented on August 25, 2024

I'm having the same error...

Trying to implement jasmine unit tests running on phantomjs through grunt, this is what I get:

$ node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/bin/phantomjs

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn EACCES
    at errnoException (child_process.js:945:11)
    at Process.ChildProcess._handle.onexit (child_process.js:736:34)

I'm using phantom version 1.9.1-1 on Mac OSX

The following is the output of running my test task using grunt:

$ grunt test
Running "jasmine:web" (jasmine) task
Testing jasmine specs via phantom
Fatal error: spawn EACCES

from phantomjs.

louisrli avatar louisrli commented on August 25, 2024

I can't run either, but I have a different error.

After a long delay (some type of looping?) on Mountain Lion 10.8.3, installed through npm, I get the error below on running anything (including misc commands like phantomjs --version). This is happening right after the install, and I suspect it might be a permissions error. Let me know if there's any other information I can provide.

child_process.js:794
    throw errnoException(errno, 'spawn');
          ^
Error: spawn Unknown system errno 23
    at errnoException (child_process.js:847:11)
    at ChildProcess.spawn (child_process.js:794:11)
    at exports.spawn (child_process.js:618:9)
    at Object.<anonymous> (/usr/local/Cellar/node/0.8.16/lib/node_modules/phantomjs/bin/phantomjs:12:10)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)

from phantomjs.

dpup avatar dpup commented on August 25, 2024

I reverted 1.9.1-1 it had some changes to use a globally installed phantom
and it looks like it didn't work properly

-- Dan

On Sat, Jul 6, 2013 at 7:20 PM, Louis Li [email protected] wrote:

I can't run either, but I have a different error.

After a long delay (some type of looping?) on Mountain Lion 10.8.3,
installed through npm, I get the error below on running anything
(including misc commands like phantomjs --version). This is happening
right after the install, and I suspect it might be a permissions error. Let
me know if there's any other information I can provide.

child_process.js:794
throw errnoException(errno, 'spawn');
^
Error: spawn Unknown system errno 23
at errnoException (child_process.js:847:11)
at ChildProcess.spawn (child_process.js:794:11)
at exports.spawn (child_process.js:618:9)
at Object. (/usr/local/Cellar/node/0.8.16/lib/node_modules/phantomjs/bin/phantomjs:12:10)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)


Reply to this email directly or view it on GitHubhttps://github.com//issues/73#issuecomment-20564506
.

from phantomjs.

inf0rmer avatar inf0rmer commented on August 25, 2024

This is a duplicate of #71, the solution right now is to revert to 1.9.1.0.

from phantomjs.

alexellis avatar alexellis commented on August 25, 2024

I have the same error on Mavericks.. I can only run phantoms with sudo, is there a solution yet? How do I roll back? Do I need to do a chmod 775?

from phantomjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.