nodeload icon indicating copy to clipboard operation
nodeload copied to clipboard

Object #<Client> has no method 'destroy'

Open cedriclombardot opened this issue 13 years ago • 4 comments

Hi,

When i run the quick start sample https://github.com/benschmaus/nodeload/blob/master/doc/nodeload.md, i have the next error :

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: Object #<Client> has no method 'destroy'
    at /var/local/webroot/bookmarks-node/node_modules/nodeload/nodeload.js:9:506
    at Client.<anonymous> (/var/local/webroot/bookmarks-node/node_modules/nodeload/nodeload.js:10:180)
    at Client.emit (events.js:88:20)
    at ClientRequest.<anonymous> (http.js:1511:10)
    at ClientRequest.emit (events.js:67:17)
    at Socket.<anonymous> (http.js:1114:11)
    at Socket.emit (events.js:67:17)
    at Array.0 (net.js:301:25)
    at EventEmitter._tickCallback (node.js:192:40)

I use node v0.6.5

Thanks in advance

cedriclombardot avatar Feb 20 '12 15:02 cedriclombardot

+1. The bug still happens with node v0.6.12

nponeccop avatar Mar 12 '12 15:03 nponeccop

+1. Node v0.6.14 has the same problem.

sarenji avatar Mar 24 '12 22:03 sarenji

The pull request 16, https://github.com/benschmaus/nodeload/pull/16, has a fix for this issue.

thegoleffect avatar Mar 29 '12 18:03 thegoleffect

Question: is this module still supported by the original author? I need to know before I include mention in my book.

shelleyp avatar May 03 '12 15:05 shelleyp