Skip to content

Unable to run dubtrackapi #3

@jtrutwin-zz

Description

@jtrutwin-zz

Hey Chris, thanks for the quick API release.

I have phantomjs 2.0.1-dev installed from git, phantom-node installed via NPM and node v4.1.1 installed:

$ phantomjs --version
2.0.1-development
$ node --version
v4.1.1

I copied your javascript from the main page, found my connect id, and changed to join indie-while-you-murder.

When I attempt to run though I get this error:

$ node netski.js
connecting to indie-while-you-murder
/home/jtrutwin/plugbot/dubtrack/dubtrackapi/index.js:207
this.page.evaluate(function() {
^

TypeError: this.page.evaluate is not a function
at DubtrackAPI.getEvents (/home/jtrutwin/plugbot/dubtrack/dubtrackapi/index.js:207:17)
at Object. (/home/jtrutwin/plugbot/dubtrack/netski.js:21:5)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:475:10)
at startup (node.js:117:18)
at node.js:951:3

Any ideas?

I was logged in as the bot's account for a while but I logged out, but for some reason the user is still showing up in the room so I'm not sure if I have to wait a while before the account is no longer in the room?

Thanks,

Josh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions