knip icon indicating copy to clipboard operation
knip copied to clipboard

The dependency "zod-validation-error" no longer supports Node.js v16

Open NicodeSS opened this issue 3 years ago • 2 comments

Knip supports LTS versions of Node.js, and currently requires at least Node.js v16.17 or v18.6.

The dependency “zod-validation-error” no longer supports Node.js v16, preventing the installation of knip in a Node.js v16.17.1 environment.

Please consider update requirements or give a proper fix?

yarn add knip
yarn add v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18.0.0". Got "16.17.1"
error Found incompatible module.

NicodeSS avatar Oct 27 '23 08:10 NicodeSS

:rocket: This issue has been resolved in v2.38.3. See Release 2.38.3 for release notes.

webpro avatar Oct 27 '23 08:10 webpro

Thanks for the report, @NicodeSS (they really sneaked that in)!

webpro avatar Oct 27 '23 08:10 webpro