lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

依赖安装完成后启动不了-Error: cli option 'disableReload' is not supported when run command 'start'

Open Jingzujian opened this issue 2 years ago • 2 comments

Describe the bug (required) / 详细描述 bug(必填)

尝试使用了yarn,npm install安装了依赖,依赖安装完成没有报错,但是npm start报错


To Reproduce (required) / 如何复现 bug?(必填,非常重要)

Steps to reproduce the behavior: / 详细复现步骤:


  1. 运行yarn
  2. npm start image

Expected behavior (required) / 预期行为(必填,非常重要)

A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为

预期是项目能完美启动


Screenshots (optional) / bug 截图(可选)

Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题

image


Environments (please complete the following information) (required): / 请提供如下信息(必填)

  • AliLowCodeEngine version: [e.g. 1.0.0] / 低代码引擎版本
  • AliLowCodeEngineExt version: [e.g. 1.0.0] / 低代码引擎扩展包版本
  • Browser [e.g. chrome, safari] / 浏览器版本
  • materials / plugins / tools / 其他物料 / 插件 / 工具链版本

低代码引擎版本 1.0.21 node版本 v14.8.0 尝试过切到v14.15.0/v14.16.0/v14.17.0 都启动不了 npm版本 6.14.7

Jingzujian avatar Aug 04 '22 10:08 Jingzujian

看不出啥问题,mac系统,node 14.17.0 肯定是没问题的,你试试demo代码更新到最新?

JackLian avatar Aug 04 '22 11:08 JackLian

https://github.com/alibaba/lowcode-demo/blob/68ff211662e2c813272cb9489996d063f833865f/build.json#L26

参考 demo 里引用的 build-plugin 相关插件,是插件提供的 disable-reload 参数~

LeoYuan avatar Aug 08 '22 11:08 LeoYuan

更新到最新的好使了

Jingzujian avatar Aug 15 '22 06:08 Jingzujian