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

undefined:29 TypeError: Result of expression 'phantom.injectJs' [undefined] is not a function. #2

Closed
brunoamaral opened this issue Sep 14, 2011 · 3 comments

Comments

@brunoamaral
Copy link

I get the above error message when i try to run the tutorial on the readme file.

This happens on a Mac with Snow Leopard running phantomjs.

Don't rule out that this may be a problem on my side.

@nrabinowitz
Copy link
Owner

What version of PhantomJS are you running? I don't think the .injectJS
method was introduced until v.1.2, so that version is a prerequisite. The
error you're getting seems to imply that the function isn't available in
your version.

-Nick

On Wed, Sep 14, 2011 at 4:31 PM, Bruno Amaral <
reply@reply.github.com>wrote:

I get the above error message when i try to run the tutorial on the readme
file.

This happens on a Mac with Snow Leopard running phantomjs.

Don't rule out that this may be a problem on my side.

Reply to this email directly or view it on GitHub:
#2

@brunoamaral
Copy link
Author

You're right Nick, thank you!

I had installed phantomjs with brew and it was still listing version 1.1.

May be a good idea to include this information on the readme file.

@nrabinowitz
Copy link
Owner

Thanks, I'll add the dependencies to the README.

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

2 participants