Open juancarlosllhL opened 4 years ago
Same here. I opened a ticket with a downstream dependency (kafkajs-lz4) but it's the same issue:
It's due to a breaking change in yarn v1.22. Running yarn policies set-version 1.21 fixed the problem for me.
A stop-gap measure in the meantime can be pinning your lz4
versions to 0.6.0
.
In your package.json
, you can add —
"resolutions": {
"lz4": "0.6.0"
}
Further reading about resolutions
- https://classic.yarnpkg.com/en/docs/selective-version-resolutions/#toc-how-to-use-it (Note that this works on both npm
and yarn
).
HI!, Lz4 can't be installed with yarn, the package appears corrupt
It can be installed with npm.