alibaba / lowcode-engine

An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系
https://lowcode-engine.cn
MIT License
14.66k stars 2.55k forks source link

安装包时出现部分node版本不兼容问题 #3087

Closed scottdao closed 3 months ago

scottdao commented 3 months ago

通过git clone 源码,通过yarn进行安装出现问题

我用nvm切换为node版本16.16.0,通过yarn安装包会报错:cheerio@1.0.0: The engine "node" is incompatible with this module. Expected version ">=18.17". Got "16.16.0"

将包切换到18.20.4版本时,通过yarn安装会报错:error @: The engine "node" is incompatible with this module. Expected version ">=14.17.0 <18". Got "18.20.4"

scottdao commented 3 months ago

EC9D1C57-85B6-4bc0-A0D4-58E637A1CD59

barryzhang123 commented 2 months ago

@scottdao 麻烦问下怎么解决的

laelliang commented 1 month ago

@barryzhang123 package中的版本限制移除,然后更新f2elint至4.0.0,我在其他issues看到的,实测有效