-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Npm package appears corrupt (Installing with yarn) #97
Comments
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. |
A stop-gap measure in the meantime can be pinning your In your "resolutions": {
"lz4": "0.6.0"
} Further reading about |
HI!,
Lz4 can't be installed with yarn, the package appears corrupt
$ yarn add lz4 yarn add v1.22.4 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error https://registry.npmjs.org/lz4/-/lz4-0.6.3.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, link '/home/juancarlosllh/.cache/yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/build/Release/lz4.node' -> '/home/juancarlosllh/.cache/yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/lz4.node'"
It can be installed with npm.
The text was updated successfully, but these errors were encountered: