-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Undefined Error using PhantomJS CLI #31
Comments
Since this project relies on Traceur, I'm sure that this comment on google/traceur-compiler#908 is the reason it isn't working with PhantomJS. Although after reading this comment on ariya/phantomjs#10522, it looks like this problem will be solved as soon as PhantomJS makes a new release. Let me know if there's anything else I can help with @AdamBrodzinski! |
Thanks for the quick follow up @christianbundy ! Sounds good, i'll keep an eye on the stable releases and will re-try soon (maybe 2.0 lol). Feel free to close this since it's not directly related to this repo. |
It is actually possible to work around this this easily using Inject-Initial. Just make the server inject the bind polyfill in the HEAD:
Just put this line somewhere in your server dir or wrap it with |
@remcoder hmmm I added it and it's showing in view source. The bind error went away but now it's throwing the undefined variables for each test. For example, if I have a global object |
I'm having issues using PhantomJS and meteor-harmony. When I run my acceptance specs with Meteor-Capybara using PhantomJS it throws the following:
Is there anything I can do on my end? Currently i'm using the Chrome browser instead of PhantomJS to get them to run. There's a similar issue filed on Traceur issue 908 but i'm not sure how it applies to Meteor-Harmony
The text was updated successfully, but these errors were encountered: