1. 问题描述
给项目里添加富文本编辑器wangeditor 时,使用
yarn add @wangeditor/editor
命令时,
报错:error commander@12.0.0: The engine “node” is incompatible with this module. Expected version “>=18”. Got “16.18.0” error Found incompatible module.
参考以下文章解决: blog.csdn.net/qubernet/ar…
2. 解决方案
使用命令 yarn config set ignore-engines true 忽略错误后,再运行 yarn add @wangeditor/editor 即可