mattcg / socks5-client

SOCKS v5 client socket implementation in JavaScript for Node.JS.
Other
56 stars 31 forks source link

ENOENT, chmod socks5-client dependency #1

Closed theNailz closed 11 years ago

theNailz commented 11 years ago
me@devserv:/scripts/search$ npm install socks5-http-client
npm http GET https://registry.npmjs.org/socks5-http-client
npm http 304 https://registry.npmjs.org/socks5-http-client
npm http GET https://registry.npmjs.org/socks5-client
npm http 304 https://registry.npmjs.org/socks5-client
npm http GET https://registry.npmjs.org/ipv6
npm http GET https://registry.npmjs.org/network-byte-order
npm http 304 https://registry.npmjs.org/network-byte-order
npm http 304 https://registry.npmjs.org/ipv6
npm http GET https://registry.npmjs.org/sprintf
npm http GET https://registry.npmjs.org/cli
npm http GET https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/cli
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/sprintf
npm http 304 https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm ERR! Error: ENOENT, chmod '/scripts/node_modules/socks5-http-client/node_modules/socks5-client/node_modules/ipv6/bin/ipv6ack.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-5-686
npm ERR! command "node" "/usr/local/bin/npm" "install" "socks5-http-client"
npm ERR! cwd /scripts/search
npm ERR! node -v v0.10.3
npm ERR! npm -v 1.3.0
npm ERR! path /scripts/node_modules/socks5-http-client/node_modules/socks5-client/node_modules/ipv6/bin/ipv6ack.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /scripts/search/npm-debug.log
npm ERR! not ok code 0

Looks like a dependency in socks5-client is broken?

mattcg commented 11 years ago

That's weird - you seem to be getting an old version of the ipv6 package. See beaugunderson/javascript-ipv6/issues/7.

Will you rm -rf node_modules and try again please?

theNailz commented 11 years ago

This does not resolve the issue. I've tried on an other box with other versions, and this works without a problem. Not quite sure if this is a npm-v1.3.0/node-v0.10.3 issue; I'll try updating npm and node, and report back.

theNailz commented 11 years ago

That was easy; after updating NPM to the lastest version (1.3.11) the install went fine. NPM v1.3.0 is incompatible.