Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XFlow 1.x对应的X6版本 #4567

Open
JerryLu991223 opened this issue Jan 22, 2025 · 1 comment
Open

XFlow 1.x对应的X6版本 #4567

JerryLu991223 opened this issue Jan 22, 2025 · 1 comment

Comments

@JerryLu991223
Copy link

问题描述

目前因为XFlow2.0没有dag demo,还是想用旧版本。
请问有没有推荐的XFlow和X6版本?

目前https://xflow.antv.vision/zh-CN/docs/tutorial/solutions/dag,这个链接的demo在XFlow 1.0.51和X6 2.18.1有各种报错。

重现链接

https://xflow.antv.vision/zh-CN/docs/tutorial/solutions/dag里的layout demo

重现步骤

直接报各种错,例如:

  1. 模块“"@antv/x6"”没有导出的成员“ObjectExt”。ts(2305)

  2. [plugin:vite:esbuild] Transform failed with 1 error:
    /home/zhenghao-lu/workspace/weevaluation/frontend/src/pages/DataProcess/Workflow/config-toolbar.tsx:185:11: ERROR: Cannot use "this" here:
    /home/zhenghao-lu/workspace/weevaluation/frontend/src/pages/DataProcess/Workflow/config-toolbar.tsx:188:27
    Cannot use "this" here:
    183| lineNumber: 182,
    184| columnNumber: 11
    185| }, this);
    | ^
    186| }
    187| });
    at failureErrorWithLog (/home/zhenghao-lu/workspace/weevaluation/frontend/node_modules/esbuild/lib/main.js:1650:15)
    at /home/zhenghao-lu/workspace/weevaluation/frontend/node_modules/esbuild/lib/main.js:848:29
    at responseCallbacks. (/home/zhenghao-lu/workspace/weevaluation/frontend/node_modules/esbuild/lib/main.js:703:9)
    at handleIncomingPacket (/home/zhenghao-lu/workspace/weevaluation/frontend/node_modules/esbuild/lib/main.js:763:9)
    at Socket.readFromStdout (/home/zhenghao-lu/workspace/weevaluation/frontend/node_modules/esbuild/lib/main.js:679:7)
    at Socket.emit (node:events:518:28)
    at Socket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:561:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
    at Readable.push (node:internal/streams/readable:392:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23

预期行为

能和docs一样渲染

平台

  • 操作系统: [Ubuntu 20.04]
  • 网页浏览器: [Google Chrome]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

No response

补充说明(可选)

应该就是版本问题,代码没改动

@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 22, 2025

👋 @JerryLu991223

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant