yarn install 报错解决

The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.4"

意思说你需要安装的module与当前node版本不匹配

解决:

yarn config set ignore-engines true

是用于修复node版本不兼容的命令配置

本质上是忽略引擎版本检查

主要用于在install过程中的版本过低提示

 

posted @ 2022-05-31 10:05  小明明同学  阅读(699)  评论(0编辑  收藏  举报