alibaba / lowcode-engine

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

Cannot read properties of null (reading 'createVoidField') #2469

Closed 18311023368 closed 11 months ago

18311023368 commented 11 months ago

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

直接从官网clone的demo然后打开lowcode-demo-antd-pro-with-formily,左侧编辑页数据源报错, Cannot read properties of null (reading 'createVoidField')


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

官网demo就存在这个问题

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


English version example:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

中文版示例:

  1. 打开 demo
  2. 点击标题;
  3. 在右侧修改标题内容为「修改后的标题」;
  4. 渲染画布标题组件没有更新显示为「修改后的标题」;

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

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


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

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


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

(this information can be collected via the manual plugin / 版本信息可通过低代码用户手册插件收集)

Additional context (optional) / 更多额外信息(可选)

Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题

18311023368 commented 11 months ago

npm 装的依赖就运行起来 点击数据源面板就报这个错误 pnpm 就可以 这是为什么呢 直接下载的官网的demo

CircleSmall commented 3 weeks ago

@18311023368 @JackLian @liujuping 你好,请问下这个问题的原理是什么,以及是如何解决的