antongolub / yarn-audit-fix

The missing `yarn audit fix`
MIT License
179 stars 8 forks source link

To install yarn-audit-fix, node >= 18 is required #316

Closed anselmo-ssoltech closed 10 months ago

anselmo-ssoltech commented 10 months ago

In readme, node >= 16 is required but currently node >= 18 is.

# yarn add -D yarn-audit-fix
yarn add v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error find-up@7.0.0: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

README.md file may be updated.

antongolub commented 10 months ago

Hmm... maybe it's better to downgrade find-up instead. Or even replace it with https://www.npmjs.com/package/npm-which

antongolub commented 10 months ago

@anselmo-ssoltech, thanks for the report. Fixed.