Node v0.5.10 v0.6.0 & NPM Update Don't Get Along #1654

Closed
jeffv opened this Issue Nov 4, 2011 · 4 comments

Comments

Projects
None yet
4 participants

jeffv commented Nov 4, 2011

Yes, I realize there are many similar issues out there, but they're all listed as specific to an operating system. Figured a more general one might be work opening...

On NPM Update:

npm ERR! TypeError: Cannot call method 'readStop' of null
npm ERR! at Socket.pause (net.js:177:16)
npm ERR! at IncomingMessage.pause (http.js:254:15)
npm ERR! at Request.pause (/home/jeffrey/.nvm/v0.5.10/lib/node_modules/npm/node_modules/request/main.js:419:23)
npm ERR! at Request.ondata (stream.js:36:47)
npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage. (/home/jeffrey/.nvm/v0.5.10/lib/node_modules/npm/node_modules/request/main.js:311:52)
npm ERR! at IncomingMessage.emit (events.js:67:17)
npm ERR! at HTTPParser.onBody (http.js:115:23)
npm ERR! at Socket.ondata (http.js:1116:24)
npm ERR! at TCP.onread (net.js:314:27)
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Linux 2.6.38-12-generic-pae
npm ERR! command "node" "/home/jeffrey/.nvm/v0.5.10/bin/npm" "update"
npm ERR! cwd /home/jeffrey/Desktop/video-queuee
npm ERR! node -v v0.5.10
npm ERR! npm -v 1.0.103
npm ERR! type non_object_property_call
npm ERR! arguments [ 'readStop', null ]
npm ERR! TypeError: Cannot call method 'readStop' of null
npm ERR! at Socket.pause (net.js:177:16)
npm ERR! at IncomingMessage.pause (http.js:254:15)
npm ERR! at Request.pause (/home/jeffrey/.nvm/v0.5.10/lib/node_modules/npm/node_modules/request/main.js:419:23)
npm ERR! at Request.ondata (stream.js:36:47)
npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage. (/home/jeffrey/.nvm/v0.5.10/lib/node_modules/npm/node_modules/request/main.js:311:52)
npm ERR! at IncomingMessage.emit (events.js:67:17)
npm ERR! at HTTPParser.onBody (http.js:115:23)
npm ERR! at Socket.ondata (http.js:1116:24)
npm ERR! at TCP.onread (net.js:314:27)
npm ERR! Report this entire log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Linux 2.6.38-12-generic-pae
npm ERR! command "node" "/home/jeffrey/.nvm/v0.5.10/bin/npm" "update"
npm ERR! cwd /home/jeffrey/Desktop/video-queuee
npm ERR! node -v v0.5.10
npm ERR! npm -v 1.0.103
npm ERR! type non_object_property_call
npm ERR! arguments [ 'readStop', null ]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jeffrey/Desktop/video-queuee/npm-debug.log
npm not ok

georgerb commented Nov 6, 2011

Confirmed, npm is not working with NodeJS 0.6.0 on Arch Linux neither

jeffv commented Nov 7, 2011

Yup. Doesn't work with NodeJS 0.6.x line either so far.

georgerb commented Nov 8, 2011

Working now on 6.x line now !

El nov 7, 2011 7:48 p.m., "jeffv" <
reply@reply.github.com>
escribió:

Yup. Doesn't work with NodeJS 0.6.x line either so far.


Reply to this email directly or view it on GitHub:
isaacs#1654 (comment)

chbrown commented Nov 26, 2011

Had this problem using the old way to pull down git repositories, via package.json:

e.g.

"dependencies" : {
"amulet": "http://github.com/chbrown/amulet/tarball/master",
"pg": "0.x.x"
}

I just needed to change this to:

"dependencies" : {
"amulet": "git://github.com/chbrown/amulet.git",
"pg": "0.x.x"
}

Which works splendidly.

@mfncooper mfncooper closed this Feb 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment