apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
8.05k stars 1.83k forks source link

[Bug] [seatunnel-web] can't build seatunnel-web project #8051

Open susanbushisan opened 1 week ago

susanbushisan commented 1 week ago

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

none

Running Command

/build.sh code

Error Exception

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; }'.

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

image image

Are you willing to submit PR?

Code of Conduct

susanbushisan commented 1 week ago

https://github.com/apache/seatunnel-web/pull/241 this is PR