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

[Question] [Module Name] When dolphinscheduler-ui runs the pnpm run build:prod command, an assignment type error occurs. #16601

Open
2 of 3 tasks
oicq1699 opened this issue Sep 9, 2024 · 0 comments
Labels
question Further information is requested

Comments

@oicq1699
Copy link

oicq1699 commented Sep 9, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

dolphinscheduler-3.2.2-release

dolphinscheduler-ui model,run pnpm run build:prod,Reported some errors:

src/views/projects/workflow/definition/timing/index.tsx:122:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'.
...
src/views/projects/workflow/definition/timing/index.tsx:123:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'.
...
src/views/projects/workflow/timing/index.tsx:117:11 - error TS2322: Type 'boolean | Ref<boolean, boolean>' is not assignable to type 'boolean | undefined'.
...
src/views/projects/workflow/timing/index.tsx:118:11 - error TS2322: Type 'string | Ref<string, string>' is not assignable to type 'string | undefined'.
...

Found 8 errors in 4 files.

Errors Files
2 src/views/projects/task/definition/batch-task.tsx:220
2 src/views/projects/workflow/definition/index.tsx:326
2 src/views/projects/workflow/definition/timing/index.tsx:122
2 src/views/projects/workflow/timing/index.tsx:117

What you expected to happen

ts type error

How to reproduce

1、download dolphinscheduler-3.2.2-release
2、install node18 and pnpm
3、 in dolphinscheduler-ui model,run pnpm run build:prod

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@oicq1699 oicq1699 added bug Something isn't working Waiting for reply Waiting for reply labels Sep 9, 2024
@SbloodyS SbloodyS added question Further information is requested and removed bug Something isn't working Waiting for reply Waiting for reply labels Sep 10, 2024
@SbloodyS SbloodyS changed the title [Bug] [Module Name] When dolphinscheduler-ui runs the pnpm run build:prod command, an assignment type error occurs. [Question] [Module Name] When dolphinscheduler-ui runs the pnpm run build:prod command, an assignment type error occurs. Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants