-
Notifications
You must be signed in to change notification settings - Fork 6
MD5 sum of the packages are wrong #11
Comments
If you are getting that error then you have probably made a change to the packages composer.json without incrementing the package version. |
Which version of composer are you using and which platform are you running it on? |
@gavinlove here's the command lines to reproduce it with the todo example:
And I'm using composer |
Jep, known issue. When re-ziping the same file it produces a different checksum. Currently we just commit all the artifacts with the change-set. Not ideal but does the trick and the artifact files aren't that big either. |
Looks like this is a common problem with statis as well. composer/composer#1496 |
And which is still in discussion in composer/composer#2540. I'm really not fond of committing artifacts to be honest, but that looks to be the only way right now. |
I think we can fix this by setting |
The MD5 sums of archives are wrong in the
composer.lock
file. So basically, the following composer error is displayed when runningcomposer install
:To reproduce it, we'll need to simply delete the application's
vendor
directory and clear the composer cache.The text was updated successfully, but these errors were encountered: