busterjs / buster

Abandoned - A powerful suite of automated test tools for JavaScript.
http://docs.busterjs.org
Other
448 stars 37 forks source link

buster-test has bad checksum in npm? #431

Closed bigethan closed 9 years ago

bigethan commented 9 years ago
npm ERR! Linux 3.2.0-56-virtual
npm ERR! argv "node" "/usr/bin/npm" "install"
npm ERR! node v0.10.22
npm ERR! npm  v2.1.4

npm ERR! shasum check failed for /tmp/npm-6936-6c8aaf87/[redacted private host]/buster-test/-/buster-test-0.7.9.tgz
npm ERR! Expected: 627ef9f9a22e199424f743e80a949d27d3858597
npm ERR! Actual:   d36a411d4feb97bee19020ca1e3527798006a3a8
npm ERR! From:     http://[redacted private host]/buster-test/-/buster-test-0.7.9.tgz
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>
alexindigo commented 9 years ago

Same here with npmjs.org:

npm ERR! Error: shasum check failed for /tmp/tmp/npm-44-gpP24ZzY/registry.npmjs.org/buster-test/-/buster-test-0.7.9.tgz
npm ERR! Expected: 627ef9f9a22e199424f743e80a949d27d3858597
npm ERR! Actual:   d36a411d4feb97bee19020ca1e3527798006a3a8
npm ERR! From:     http://registry.npmjs.org/buster-test/-/buster-test-0.7.9.tgz
npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/sha/index.js:38:8
npm ERR!     at ReadStream.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/sha/index.js:85:7)
npm ERR!     at ReadStream.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:929: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>

And manual check produced same results

http://ia.gs/YBFK

vs

$ shasum buster-test-0.7.9.tgz 
d36a411d4feb97bee19020ca1e3527798006a3a8  buster-test-0.7.9.tgz

PS. While you at it, would be nice to fix bugs field as well, since there is no issue page for buster-test. Thank you.

dominykas commented 9 years ago

This is a bug in npm itself, I'd say. https://github.com/npm/npm/issues/6541

Got this once myself in the morning, then it went away. A colleague mentioned he had success with EU mirror of npm.

alexindigo commented 9 years ago

I think republishing the package might fix the issue, since recorded checksum looks wrong.

dominykas commented 9 years ago

Npm no longer allows publishing over something. I'd wait for official response from their team.

alexindigo commented 9 years ago

Simple bump in patch version will do :)

dwittner commented 9 years ago

Does the issue still exist for you? Installing buster-test is ok for me, on windows and on linux. If i shasum the downloaded tgz file, i get 627ef9f9a22e199424f743e80a949d27d3858597, the value that is expected.

dominykas commented 9 years ago

Looks like https://github.com/npm/npm/issues/6541 is closed off by now, although https://github.com/npm/npm/issues/6451 isn't

dwittner commented 9 years ago

@bigethan, @alexindigo, because i got no answer, i assume the issue also doesn't exist for you anymore.