-
Notifications
You must be signed in to change notification settings - Fork 45
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
Phantom stderr #139
Comments
I reckon this is a duplicate of https://github.com/wallabyjs/wallaby-webpack-es7/issues/4 |
Thanks @jagreehal that does in fact represent the issue. I downloaded phantom and changed the wallaby-jasmine json file as follows and it works perfectly:
You might want to include that in the docs @ArtemGovorov - I think there will be a lot of Visual Studio users with spaces in their user profile names. |
@jagreehal Thanks! |
Awesome. In that case maybe it's to do with the deafult path people store their global npm packages to? If phantom does not handle spaces in paths, then where is phantom located on your disk if you have spaces in your username? Would be interesting to get to the bottom of it. |
Global npm packages shouldn't affect it because wallaby.js is using its own version of phantomjs, that is stored in IDE cache. It looks like phantomjs has issues with spaces in paths only in some cases, not always. Could be something else in the system/configuration that affects it. I have seen the issue in other projects from SO Q&A, but I haven't found any explanation for it yet (except the workaround to avoid using spaces). |
Ok cool - I'll update if I find any more info - for now the workaround is fine for me. Having lots of fun using wallaby - great job! 👍 |
@RobertTheGrey Thanks! I'll also keep investigating the issue. |
@RobertTheGrey @jagreehal BTW, as long as you guys are specifying the phantomjs path anyway, you may want to try our latest feature - PhantomsJs 2 support, it may make your tests to run faster. |
Thanks @ArtemGovorov - will give it a spin |
Hi there, getting a phantom error when running the sample solution tests for the first time following the blog tutorial in Visual Studio. The error I'm getting in the output window is:
phantom stderr: 'C:\Users\Rob' is not recognized as an internal or external command, operable program or batch file.
It just so happens that my user folder is actually
C:\Users\Rob G\
which has a space in it and I'm assuming wallaby is struggling to run the node files it needs - in this case Phantom.The text was updated successfully, but these errors were encountered: