错误如下:
yarn install v1.22.1
[1/5] 🔍 Validating package.json...
error root@1.0.0: The engine "node" is incompatible with this module. Expected version ">=12.0.0". Got "10.16.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
解决方式:
yarn config set ignore-engines true