[Bug] checksum mismatch between Windows and non-Windows using npm-based dependency with executable file when building from source #2578
Labels
bug
Something isn't working
external bug
This issue highlights a bug in another project
stale
Issues that didn't get attention
Describe the bug
It includes the following ingredients:
package-lock.json
) and one or more packaged files with the+x
executable bit setyarn.lock
) referencing the dependency using agithub:
URI or some method that will cause it to package from sourceyarn install
on both Windows and a POSIX operating systemPOSIX OSes will end up preserving the executable bit during packaging while Windows does not, causing a checksum mismatch.
To Reproduce
I've created a minimal repro of this bug using these two repositories:
https://github.com/jhurliman/yarnpkg-checksum-test
https://github.com/jhurliman/yarnpkg-checksum-test-dep
The text was updated successfully, but these errors were encountered: