You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
补充说明(可选)
应该就是版本问题,代码没改动
The text was updated successfully, but these errors were encountered:
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.
问题描述
目前因为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
重现步骤
直接报各种错,例如:
模块“"@antv/x6"”没有导出的成员“ObjectExt”。ts(2305)
[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一样渲染
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
应该就是版本问题,代码没改动
The text was updated successfully, but these errors were encountered: