Skip to content
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

meet phantom stdout: TypeError: undefined is not an object (evaluating 'phantom.args[0]') #115

Open
tlightsky opened this issue Feb 7, 2015 · 6 comments

Comments

@tlightsky
Copy link

node_modules/node-phantom/bridge.js:3 in global code

segment-boneyard/nightmare#42
amir20/phantomjs-node#209
this might be helpful
it's kind caused by phantomjs 2.0.0 change

@bchr02
Copy link

bchr02 commented Feb 25, 2015

I just ran into this issue too. @alexscheelmeyer When will you support Phantomjs 2.0?

@mhkeller
Copy link

+1 for a fix on this.

@zig999
Copy link

zig999 commented Apr 1, 2015

Try changing in bridge.js the way you get the port parameter to:
var system = require('system');
var args = system.args;
var port=args[1];

@HendrikRoth
Copy link

+1

1 similar comment
@jangot
Copy link

jangot commented Aug 10, 2015

+1

@ilyaevseev
Copy link

+1
Replacing to system.args is a hack.

marlonmarcos21 pushed a commit to smartkarma/node-phantom that referenced this issue Jun 30, 2016
…peError: undefined is not an object (evaluating 'phantom.args[0]') (alexscheelmeyer#115)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants