Closed Freakachoo closed 3 years ago
@Freakachoo Can you confirm this works on the 10x, 12x & 14x versions of Node.js? I can't remember correctly but we didn't do this because there was an issue with a specific version of Node.
@paambaati can confirm it works on 12.4.0
.
@Prsna23 Can you please verify that this patch works internally?
@paambaati We have been using version 0.6.0
of lz4
module internally (works on Nodejs 10.x). 0.6.3
works as well.
@Freakachoo This version doesn't work either.
yarn install v1.22.10
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
error https://registry.yarnpkg.com/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 '/Users/gp/Library/Caches/Yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/build/Release/lz4.node' -> '/Users/gp/Library/Caches/Yarn/v6/npm-lz4-0.6.3-78df6bb69a36d7db6c2e849494876ba6e38e66d6-integrity/node_modules/lz4/build/Release/obj.target/lz4.node'"
Should we bump it down to 0.6.0?
v0.6.3 works only after downgrading Yarn to v1.21!
yarn policies set-version 1.21
(See https://github.com/pierrec/node-lz4/issues/99#issuecomment-696129738)
The lz4
package is too much of a liability and so I've completely rewritten the package. See https://github.com/indix/kafkajs-lz4/pull/7#issuecomment-738652072
There is an issue https://github.com/pierrec/node-lz4/issues/99 that makes version
0.6.4
of thelz4
module not operational. Let's freeze a version on0.6.3
before the module will be fixed.