winstonjs / node-loggly

A client implementation for Loggly in node.js
http://github.com/winstonjs/node-loggly
Other
233 stars 80 forks source link

problems with request 1.1.1 #4

Closed kordless closed 13 years ago

kordless commented 13 years ago

I was previously using node 0.3.4 (maybe) and this was working. I installed Node on a new machine and got 0.3.6. When I try to install node-loggly, I got this:

root@aquaman:/usr/local/lib/node/.npm/.cache/loggly/0.1.4# npm install loggly npm info it worked if it ends with ok npm info using npm@0.2.16 npm info using node@v0.3.6 npm ERR! sudon't! npm ERR! sudon't! Running npm as root is not recommended! npm ERR! sudon't! Seriously, don't do this! npm ERR! sudon't! npm info range pool@>= 0.4.1 npm info latest = request@1.1.1 not supported by node@v0.3.6 npm info range request@>= 1.1.1 npm ERR! Error: No satisfying version found for 'request'@'>=1.1.1' npm ERR! Valid install targets for request: "latest", "0.10.0", "0.8.3", "0.9.0", "0.9.1", "0.9.5", "1.0.0" npm ERR! at /usr/local/lib/node/.npm/npm/0.2.16/package/lib/install.js:143:29 npm ERR! at /usr/local/lib/node/.npm/npm/0.2.16/package/lib/install.js:178:5 npm ERR! at /usr/local/lib/node/.npm/npm/0.2.16/package/lib/utils/registry/get.js:55:5 npm ERR! at /usr/local/lib/node/.npm/npm/0.2.16/package/lib/utils/registry/request.js:37:10 npm ERR! at IncomingMessage. (/usr/local/lib/node/.npm/npm/0.2.16/package/lib/utils/registry/request.js:174:14) npm ERR! at IncomingMessage.emit (events.js:59:20) npm ERR! at HTTPParser.onMessageComplete (http.js:111:23) npm ERR! at Socket.ondata (http.js:990:22) npm ERR! at Socket._onReadable (net.js:623:27) npm ERR! at IOWatcher.onReadable as callback npm ERR! Report this entire log at http://github.com/isaacs/npm/issues npm ERR! or email it to npm-@googlegroups.com npm ERR! Just tweeting a tiny part of the error will not be helpful. npm not ok

I'm assuming this is a problem with the request lib 1.1.1 not supporting the new version of Node.

Looking into rolling back to a previous version, but some guidance would be great! :)

Marak commented 13 years ago

I know there are some major issues with httpClient in the 0.3.4+ branches, but I'm not sure what the current status is. It maybe possible that the request module purposefully won't install for 0.3.6 ?

indexzero commented 13 years ago

I'm running against 0.3.1. until the HTTP / HTTPS spitzers stabilizes.