opentiny / tiny-engine

TinyEngine is a low-code engine based on which you can build or develop low-code platforms in different domains/TinyEngine是一个低代码引擎,基于这个引擎可以构建或者开发出不同领域的低代码平台
https://opentiny.design/tiny-engine
MIT License
1.94k stars 298 forks source link

🐛 [Bug]: 生成代码到本地文件后,代码运行报错 #507

Closed yao521521 closed 5 months ago

yao521521 commented 5 months ago

Environment

google与edge

Version

v16.20.2

Version

不知道如何查看最新稳定版

Link to minimal reproduction

https://github.com/opentiny/tiny-engine

Step to reproduce

https://github.com/opentiny/tiny-engine/assets/90167238/49bf90a3-5162-45dc-ac3e-48bcdd680441

What is expected

下载项目可以直接运行

What is actually happening

下载项目无法运行

What is your project name

tiny-engine

Any additional comments (optional)

No response

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: After generating the code to a local file, an error occurs when the code is run.

chilingling commented 5 months ago

@yao521521 你好,从报错信息来看,是 test2 在声明之前被调用了。请问是否方便做一个最小化的可复现 demo。方便我们帮助进一步的问题排查?

感谢反馈。

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically.


@yao521521 Hello, judging from the error message, test2 was called before the statement. I would like to ask if it is convenient to make a minimal and reproducible demo. Can you help us troubleshoot further?

Thanks for the feedback.

chilingling commented 5 months ago

与 #533 应该是一样的错误,重复了,关闭该重复的 issue。

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically.


It should be the same error as #533. It is a duplicate. Close the duplicate issue.