The engine "node" is incompatible with this module.

root@test-OptiPlex-3050:/home/web/hflab# yarn install
yarn install v1.22.19
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error jest-matcher-utils@28.1.1: The engine "node" is incompatible with this module. Expected version "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0". Got "16.6.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
root@test-OptiPlex-3050:/home/web/hflab# yarn config set ignore-engines true
yarn config v1.22.19
success Set "ignore-engines" to "true".
Done in 0.06s.

posted @ 2022-09-27 16:14  李悠然  阅读(795)  评论(0编辑  收藏  举报