问题描述 使用yarn安装React项目依赖,出现报错: The engine "node" is incompatible with this module. Expected version ">=16". Got "14.17.4": 原因分析: Node.js版本不一致 解决方案: 1、卸载旧版的Node.js,重新安装需要的版本 2、忽略此错误,然后重新yarn 命令:yarn config set ignore-engines true