Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Exit Code 126 -- "Cannot execute binary" #46
I'm getting a strange issue when trying to run phantomJS in my workflow on a CentOS system.
Here is the error it's reporting:
[4mRunning "qunit:all" (qunit) task[24m
Here are my permissions for phantomjs:
I was directed to bring it up in this project instead of the phantomJS one (ariya/phantomjs#11646).
Is it possible this is from installing the module (with npm install) on a Mac, committing it, and then deploying it to a CentOS server? Or is it something entirely different?
I also have put out a SO post on it (http://stackoverflow.com/questions/19013918/phantomjs-crash-exit-code-126), but haven't gotten any bites.
Can anyone help? Is this a bug?
Okay, this had to do with two things -- one, I needed to run npm install on the server itself, because the PhantomJS binaries are OS specific. After that, I had to install fontconfig and truetype (I think that was the name) to let PhantomJS run.
Hope this helps someone else. Closing.
There's a short OS Dependencies section in the readme: https://github.com/gruntjs/grunt-contrib-qunit#os-dependencies
Did you miss those? Or was there something else? Maybe those need to be more prominent?