→ yarnyarn install v1.22.4[1/5] Validating package.json...error yiqi-api-core@0.0.1: The engine "node" is incompatible with this module. Expected version "^14.17.0". Got "11.13.0"error Found incompatible module.info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
原因是项目在 package.json 里面指定的 node 版本:
"engines": { "node": "^14.17.0" },
我用的 node 与项目要求的版本不符,所以就会提示 node 不兼容。