MobileChromeApps / mobile-chrome-apps

Chrome apps on Android and iOS
BSD 3-Clause "New" or "Revised" License
2.5k stars 346 forks source link

npm install broken for 0.0.10 #157

Closed jonnor closed 10 years ago

jonnor commented 10 years ago

$ npm install cca npm http GET https://registry.npmjs.org/cca npm http 200 https://registry.npmjs.org/cca npm http GET https://registry.npmjs.org/cca/-/cca-0.0.10.tgz npm http 200 https://registry.npmjs.org/cca/-/cca-0.0.10.tgz npm ERR! Error: shasum check failed for /home/jon/tmp/npm-29629-7n5QFMqH/1399667552023-0.18536719563417137/tmp.tgz npm ERR! Expected: e6b20b802bf23c995c936c2729c3ad642d2c2ef4 npm ERR! Actual: 0c93c837f67cd3ebb1593ea902d7a1323b9994ad npm ERR! From: https://registry.npmjs.org/cca/-/cca-0.0.10.tgz npm ERR! at /usr/lib/node_modules/npm/node_modules/sha/index.js:38:8 npm ERR! at ReadStream. (/usr/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:919:16 npm ERR! at process._tickCallback (node.js:419: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/npm/npm/issues

mmocny commented 10 years ago

Thanks. I saw this issue earlier when I tried to publish a cca release candidate with npm 1.4.10. It seemed to go away with a publish from npm 1.4.5, but other users have reported this is still an issue.

What version of npm are you using? (npm -v)

mmocny commented 10 years ago

Would you mind trying a test: npm install -g cca@rc to see if you get 0.0.11-rc1 installed fine?

jonnor commented 10 years ago

Using npm 1.4.9 locally. Also having this issue on Travis CI which is using npm 1.4.3

mmocny commented 10 years ago

Just pushed v0.0.11 which hopefully resolved the issue.

You are using Travis with cca? Mind doing a writeup about that for us?

jonnor commented 10 years ago

npm install -g cca@rc Does not error out, but pulls down version 0.0.0 and only installs a package.json

mmocny commented 10 years ago

Yeah sorry about that, pushed rc->release and unpublished the rc. npm install -g cca should pull v0.0.11, hopefully without errors now.

jonnor commented 10 years ago

Yes, we're using Travis with cca to build both iOS and Android apps for http://flowhub.io. A writeup on the infrastructure is planned after we roll out, but we are currently blocked by polymer/PointerEvents#131

jonnor commented 10 years ago

npm install cca now works locally, probably also on Travis. Thank for very quick resolution!

mmocny commented 10 years ago

Thanks for the confirmation.

Looks like you guys are building something interesting! Looking forward to your writeup.