Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

PhoneGap install fails #3703

Closed
ebharding opened this Issue · 8 comments

5 participants

@ebharding

macpro:~ ebharding$ sudo npm install -g phonegap
Password:
npm http GET https://registry.npmjs.org/phonegap
npm http 200 https://registry.npmjs.org/phonegap
npm http GET https://registry.npmjs.org/phonegap/-/phonegap-3.0.0-0.14.0.tgz
npm http 200 https://registry.npmjs.org/phonegap/-/phonegap-3.0.0-0.14.0.tgz
npm ERR! TypeError: uid must be an unsigned int
npm ERR! at Object.fs.chown (fs.js:853:11)
npm ERR! at Object.chown (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:131:17)
npm ERR! at endChown (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:212:12)
npm ERR! at setProps (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:295:5)
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:286:7
npm ERR! at Object.oncomplete (fs.js:107:15)
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 Darwin 12.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "phonegap"
npm ERR! cwd /Users/ebharding
npm ERR! node -v v0.10.14
npm ERR! npm -v 1.3.5
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ebharding/npm-debug.log
npm ERR! not ok code 0

@petertang

I'm receiving this error as well.

npm http GET https://registry.npmjs.org/phonegap
npm http 304 https://registry.npmjs.org/phonegap
npm ERR! TypeError: uid must be an unsigned int
npm ERR!     at Object.fs.chown (fs.js:853:11)
npm ERR!     at Object.chown (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:131:17)
npm ERR!     at endChown (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:212:12)
npm ERR!     at setProps (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:295:5)
npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:286:7
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     
npm ERR! or email it to:
npm ERR!     

npm ERR! System Darwin 12.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "phonegap"
npm ERR! cwd /Users/petertang/Development/phonegap
npm ERR! node -v v0.10.14
npm ERR! npm -v 1.3.5
@luk-

Can you try the fixed 0.10.14 that just got pushed?

@markdrake

I'm having the exact same error. My node version is: v0.10.14 and my npm version is: 1.3.5. I'm running MacOsX.

@luk-

Sorry, I mean 0.10.15. That was just pushed and should fix this.

@luk- luk- closed this
@markdrake

Thanks, It's fixed with 0.10.15

@ebharding

Yes, fixed thanks!

@gstef74

Hi there, having the same issue though I updated node to the latest version v0.10.23.
Any idea?

200 https://registry.npmjs.org/npm/-/npm-1.3.19.tgz
npm ERR! Error: shasum check failed for /Users/me/tmp/npm-59375-14sGmVC0/1387272816417-0.7217251129914075/tmp.tgz
npm ERR! Expected: dee5a33ff04d7217194dc1ad1342e3a441761942
npm ERR! Actual: ab7d89ca1f31db14db047d01222dd968649cfb50
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/sha/index.js:38:8
npm ERR! at ReadStream. (/usr/local/lib/node_modules/npm/node_modules/sha/index.js:85:7)
npm ERR! at ReadStream.EventEmitter.emit (events.js:117:20)
npm ERR! at _stream_readable.js:920:16
npm ERR! at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues

npm ERR! System Darwin 13.0.1
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "cordova"
npm ERR! cwd /Users/me/Downloads/cordova-3.3.0/cordova-cli/bin
npm ERR! node -v v0.10.23
npm ERR! npm -v 1.3.17
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/me/Downloads/cordova-3.3.0/cordova-cli/bin/npm-debug.log
npm ERR! not ok code 0

@ebharding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.