现象:
在安装组件时提示模块不支持该引擎,目前安装的是LTS版本,提示如下
achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.16.0"
如图:
解决方案:
执行配置命令,配置yarn忽略引擎检查
yarn config set ignore-engines true
验证
再次执行安装命令,正常