c4milo / node-webkit-agent

NodeJS agent for WebKit devtools front-end
http://c4milo.github.io/node-webkit-agent/
1.09k stars 78 forks source link

example thows an error #61

Closed joernroeder closed 10 years ago

joernroeder commented 10 years ago

I've just installed the package, copied the example code and got the following error…

TypeError: Object function () {
    this.loadedAgents = {};
    this.proxy = null;
    this.server = null;
    this.socket = null;
} has no method 'start'

After looking in the source I figured out that agent.prototype.start() kicks off the agent but shows Not implemented on the inspector page.

c4milo commented 10 years ago

this is probably due to changes made in https://github.com/c4milo/node-webkit-agent/commit/6eeb5b0556a78e15bc44e10c009995858aa736a4. I will review and fix it. Thanks for letting me know!.

c4milo commented 10 years ago

@joernroeder I just pushed version v0.3.0 to NPM. This issue should be fixed in that version. The commit was: https://github.com/c4milo/node-webkit-agent/commit/8d6873bf3ebb7199321908403a03dd5a44240b91