-
Notifications
You must be signed in to change notification settings - Fork 607
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
Reporting a better error message in test.js #185
Comments
Thank you for posting the solution to this! I'd like to add this note to the documentation. Would you mind telling me what resource you used to install python? e.g. the command, version, repo, etc. |
I installed the latest version of Python from www.python.org. The direct link is Download Python 3.5.1 From there I just installed their software suite and made sure my PATH variable included python.exe. Someone could do a custom install and only add python.exe. |
Thanks! |
I was getting the error Testing script failed with code: 1. when attempting to create the reference images with npm run reference. I'm on a win32 platform and finally figured out the real issue by adding the following code to the test.js file.
casperChild.stderr.on('data', function (data){ console.log("CasperJS:" + data.toString()); });
Turns out that CasperJS requires Python.exe to be on the machine. Once I loaded that dependency everything worked great.
The text was updated successfully, but these errors were encountered: