gruntjs / grunt-lib-phantomjs

Grunt and PhantomJS, sitting in a tree.
http://gruntjs.com/
MIT License
93 stars 63 forks source link

Getting ERROR >> 0 [ '' ] when running grunt jasmine #89

Closed franksama closed 9 years ago

franksama commented 9 years ago

Hi,

I'm trying to run the example app mentioned in the README and am getting the following error. Anyone know a solution for it?

Thanks~!

Running "jasmine:src" (jasmine) task
Testing jasmine specs via phantom

Running PhantomJS...ERROR
>> 0 [ '' ]
Warning: PhantomJS exited unexpectedly with exit code null. Use --force to continue.

Aborted due to warnings.
rovolution commented 7 years ago

@franksama i am also getting this error as well. How did you go about resolving this? Thanks!

jstncno commented 7 years ago

+1

franksama commented 7 years ago

@rovolution - hmm i think to get this working i did

cd node_modules/grunt-contrib-jasmine/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom
upx -d bin/phantomjs
jstncno commented 7 years ago

thanks @franksama ! will try

rovolution commented 7 years ago

@franksama That worked! Thanks! But still I wonder why you have to manually unpack the phantom binary with upx