shasum check failed for aws-sdk-2.0.13.tgz
I'm seeing:
shasum check failed for /var/folders/jv/bhkldrpj41jbkpzxgc9ggr_r0000gn/T/npm-75334-1H22SvB3/registry.npmjs.org/aws-sdk/-/aws-sdk-2.0.13.tgz
When installing aws-sdk for the latest tag. I'm seeing this locally on osx and on linux (travis).
This can be caused by a variety of things, but in my experience the most likely cause is a package that is published with node v0.11.x (which has some bug that causes this). Usually tagging another version and running npm publish using node v0.10.x solved it.
Is it possible you published the aws-sdk-2.0.13.tgz release with node v0.11.x?
We publish with v0.10.29. I installed just now and was able to reproduce the checksum issue the first time, but subsequent installs seemed to work. Does this still occur for you? If you run:
npm install [email protected]
Does it still fail?
Locally, on OS X, here is what I just experienced:
- I cleaned my cache (
npm cache clean) - Then I tried to install
npm install [email protected]multiple times. No matter how many times I tried it failed with the same error (quickly). - Then I came back to read your post again.
- Upon trying again it works :)
So, perhaps this is just an npm repository issue
Sounds like it was a temporal issue. I'll leave this open for the rest of the day in case anyone else runs into it. Thanks for bringing this to our attention.
No problem, wish I had other ideas for a quick and solid solution. I forgot to mention in my original description that I've been unable to replicate any problem when installing v2.0.12 like:
npm cache clean && npm install [email protected]
But I consistently (at least right now) hit the error when running:
npm cache clean && npm install [email protected]
I just pushed a patch release of the SDK (2.0.14). It looks like my brew install was pulling in an alpha version of npm which caused the checksum issue. Let me know if this new version resolves the problem for you.
Thanks for reporting this!
@AdityaManohar - thanks! I am able to install v2.0.14 without any problem - tried about 15 times in a row and no issues.
Thanks for bringing this to our attention again, @springmeyer. This seems to be resolved when using the latest stable npm.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.