marcuswestin/fun — Issue #2: NPM install error - require version 0.1.10 not found
Author: mariuskempe
Created: 2012-02-23 22:13:57+00:00
State: open

Hey. Fun looks amazing and I'd like to play with it - I'm writing a little 100-user server/client node.js app right now for my PhD and experiencing the pain of managing state everywhere and lots of little incidental complexity. I went to my term and told it to:

$ sudo npm install fun -g

and it told me:

npm http GET https://registry.npmjs.org/fun
npm http 200 https://registry.npmjs.org/fun
npm http GET https://registry.npmjs.org/fun/-/fun-0.2.4.tgz
npm http 200 https://registry.npmjs.org/fun/-/fun-0.2.4.tgz
npm http GET https://registry.npmjs.org/optimist/0.1.6
npm http GET https://registry.npmjs.org/fin/0.2.14
npm http GET https://registry.npmjs.org/require/0.1.10
npm http GET https://registry.npmjs.org/nodeunit/0.5.1
npm http GET https://registry.npmjs.org/std/0.1.11
npm http 200 https://registry.npmjs.org/fin/0.2.14
npm http GET https://registry.npmjs.org/fin/-/fin-0.2.14.tgz
npm http 200 https://registry.npmjs.org/optimist/0.1.6
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.1.6.tgz
npm http 200 https://registry.npmjs.org/std/0.1.11
npm http 404 https://registry.npmjs.org/require/0.1.10
npm ERR! error installing fun@0.2.4
npm http GET https://registry.npmjs.org/std/-/std-0.1.11.tgz

npm ERR! Error: version not found: 0.1.10 : require/0.1.10
npm ERR! at Request._callback (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:182:12)
npm ERR! at Request.callback (/usr/local/lib/node_modules/npm/node_modules/request/main.js:109:22)
npm ERR! at Request. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:481:18)

npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:442:16)
npm ERR! at IncomingMessage.emit (events.js:88:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:137:23)
npm ERR! at CleartextStream.ondata (http.js:1147:24)
npm ERR! at CleartextStream._push (tls.js:367:27)
npm ERR! at SecurePair.cycle (tls.js:688:20)
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "fun" "-g"
npm ERR! cwd /Users/mk
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! message version not found: 0.1.10 : require/0.1.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/mk/npm-debug.log
npm not ok

Maybe you just change the version number of require you depend on?

Best,
Marius