indutny/node.uptime — Issue #1: TypeError: Object #<Client> has no method 'destroy'
Author: FireChat
Created: 2012-03-10 01:31:08+00:00
State: open

$ sudo npm install node.uptime -g
/usr/local/bin/node.uptime -> /usr/local/lib/node_modules/node.uptime/bin/node.uptime
node.uptime@0.1.0 /usr/local/lib/node_modules/node.uptime
└── optimist@0.3.1

$ node.uptime -h github.com -u "echo up" -d "echo down"

/usr/local/lib/node_modules/node.uptime/lib/node.uptime/index.js:54
client.destroy();
^
TypeError: Object # has no method 'destroy'
at IncomingMessage. (/usr/local/lib/node_modules/node.uptime/lib/node.uptime/index.js:54:16)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1124:24)
at TCP.onread (net.js:349:27)