Closed jaireina closed 10 years ago
Yup same issue here. Thanks @jaireina for suggesting the 1.9.0 version!
I'm new to phantomJS myself, but I'm trying to ask them what would be throwing the error on this line.
I am also getting the same issue while running from yeoman generator-mobile.
Hope to hear from the dev soon.
The same issue has been tracked here as well - https://github.com/yeoman/generator-mobile/issues/20
https://github.com/yeoman/generator-mobile/issues/20#issuecomment-35687275
It's resolved for me, kindly check out the above link.
I wonder why autoshot doesn't use a bundled local phantomjs like many other grunt plugins do. Example: https://github.com/jdcataldo/grunt-mocha-phantomjs
Also, error handling would be nice :-)
I fixed the problem with phantomjs 1.9.7 by changing the dependency version of "node-phantom-simple "in the package.json to 1.2.0
You also need to run "npm install" in the module folder again.
I'm getting this error when I try to run the grunt task: Error: 'Fatal error: Cannot call method 'createPage' of undefined'
It's the same error reported here: http://stackoverflow.com/questions/19298207/grunt-autoshot-cannot-call-method-createpage-of-undefined/19750159#19750159
I uninstalled my phantomjs@1.9.2 and installed 1.9.0 and it worked!
What changed from one version to another?