apiaryio / gavel.js

Validator of HTTP messages (JavaScript implementation)
MIT License
97 stars 22 forks source link

gavel 0.2.7 install throws checksum error #29

Closed richleland closed 10 years ago

richleland commented 10 years ago

With the latest gavel published to npm I'm getting checksum errors when I attempt to install:

npm install gavel
npm http GET https://registry.npmjs.org/gavel
npm http 200 https://registry.npmjs.org/gavel
npm http GET https://registry.npmjs.org/gavel/-/gavel-0.2.7.tgz
npm http 200 https://registry.npmjs.org/gavel/-/gavel-0.2.7.tgz
npm ERR! Error: shasum check failed for /var/folders/nr/w_7b0xvd1zs91hhgd9gkch_w0001bs/T/npm-65279-oLUZ1mNH/1387465822956-0.6278377042617649/tmp.tgz
npm ERR! Expected: d71d11dae8137d3ecbe59653261a784050a6632a
npm ERR! Actual:   110e19626484ea0ad18b345b8eb8bff6bf9727ff

I ran an npm cache clear just to make sure it wasn't something local. I can install gavel 0.2.6 without issue. Note that this affects dredd as well because the devDependencies are fuzzy so installing dredd attempts to install gavel 0.2.7.

tu1ly commented 10 years ago

try to manually delete tmp file (/var/folders/nr/w_7b0xvd1zs91hhgd9gkch_w0001bs/T/npm-65279-oLUZ1mNH/1387465822956-0.6278377042617649/tmp.tgz) please

richleland commented 10 years ago

Thanks for the rapid response. OK I tried to remove the temp file several times and re-ran the install. I get the same error.

tu1ly commented 10 years ago

i'll try bump up version ( i've got the same error when publishing it to npmjs for the 1st time)

tu1ly commented 10 years ago

could you pls try it now ?

richleland commented 10 years ago

I can confirm 0.2.8 installs properly - thanks a ton for addressing so quickly!