Closed garthk closed 11 years ago
fixed in npmd-install@3.0.6
If you reinstall npmd you should get the fix.
Thanks. No more NaN
.
I was still getting these…
npmd install event-stream@~3.0.14
WARN! expected stream-combiner@0.0.0 to have shasum=227980ce853938e54e4c28463d3e5e496c845f4d
WARN! expected duplexer@0.0.2 to have shasum=a8e6369d5ae85f77f832c2e67348f4fd5e186f7f
WARN! expected duplexer@0.0.4 to have shasum=3d8e199c895711c70cdf7c16cfc99d09c2760540
… but deleting my .npm
directory fixed the problem.
npmd checks that the hash is as expected when it unpacks a file. For complicated historical reasons, npm unpacks, and then repacks the tarballs, which gives them a different hash. So, when the file is unpacked it's wrong.
It is planned to fix this in npm eventually, but the files downloaded by npmd directly will have the correct hash.
When I
npmd install
, I get warned…I suspect you intend something other than
NaN
wedged between the version and the hash.