当我用yarn安装项目时,报错如下:

error @typescript-eslint/eslint-plugin@2.5.0: The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "11.6.0"
error Found incompatible module.
参考:https://blog.youkuaiyun.com/qq_42144899/article/details/88574761
执行以下命令即可。
yarn config set ignore-engines true
本文介绍了解决使用Yarn安装项目时遇到的错误,具体错误为类型检查插件与Node.js版本不兼容的问题。文章提供了修改配置以忽略引擎版本限制的方法。
669

被折叠的 条评论
为什么被折叠?



