Open susanbushisan opened 1 week ago
The error occurs when I build seatunnel-web, and I'm guessing that the front-end component code is causing the problem
1.0.3-SNAPSHOT
none
/build.sh code
Running 'npm run build:prod' in D:\project\personal\seatunnel-web\seatunnel-web-dist\..\seatunnel-ui [INFO] [INFO] > seatunnel-ui@0.0.0 build:prod [INFO] > vue-tsc --noEmit && vite build --mode production [INFO] [INFO] src/views/task/synchronization-definition/dag/sidebar/index.tsx(75,34): error TS2322: Type '{ width: string; height: string; }' is not assignable to type 'IntrinsicAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; ref_for?: boolean | undefined; ref_key?: string | undefined; ... 7 more ...; style?: unknown; }'. [INFO] Property 'width' does not exist on type 'IntrinsicAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; ref_for?: boolean | undefined; ref_key?: string | undefined; ... 7 more ...; style?: unknown; }'. [INFO] src/views/task/synchronization-definition/dag/sidebar/index.tsx(91,35): error TS2322: Type '{ width: string; height: string; }' is not assignable to type 'IntrinsicAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; ref_for?: boolean | undefined; ref_key?: string | undefined; ... 7 more ...; style?: unknown; }'. [INFO] Property 'width' does not exist on type 'IntrinsicAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; ref_for?: boolean | undefined; ref_key?: string | undefined; ... 7 more ...; style?: unknown; }'. [INFO] src/views/task/synchronization-definition/dag/sidebar/index.tsx(136,41): error TS2322: Type '{ width: string; height: string; }' is not assignable to type 'IntrinsicAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; ref_for?: boolean | undefined; ref_key?: string | undefined; ... 7 more ...; style?: unknown; }'. [INFO] Property 'width' does not exist on type 'IntrinsicAttributes & { key?: string | number | symbol | undefined; ref?: VNodeRef | undefined; ref_for?: boolean | undefined; ref_key?: string | undefined; ... 7 more ...; style?: unknown; }'.
No response
https://github.com/apache/seatunnel-web/pull/241 this is PR
Search before asking
What happened
The error occurs when I build seatunnel-web, and I'm guessing that the front-end component code is causing the problem
SeaTunnel Version
1.0.3-SNAPSHOT
SeaTunnel Config
Running Command
Error Exception
Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
Are you willing to submit PR?
Code of Conduct