What else do I need to configure? pnpm dev:self gets a ton of errors
Author: houxinlinCreated Aug 27, 2025Updated Aug 27, 2025
Labelsbug
Description
What else do I need to configure? pnpm dev:self gets a ton of errors
Steps to reproduce
No response
Version
self-host
ILLA Builder Version
4.8.3
Browser
No response
Operating System
- macOS
- Windows
- Linux
Additional Information
pnpm dev:selfilla-cloud-fe:dev: FILE D:/project/github/illa-builder/packages/illa-design/packages/trigger/src/style.ts:43:34
illa-cloud-fe:dev:
illa-cloud-fe:dev: 41 |
illa-cloud-fe:dev: 42 | let shadow = css`
illa-cloud-fe:dev: > 43 | box-shadow: ${getColorShadow("white" ? "blackAlpha" : colorScheme, "03")};
illa-cloud-fe:dev: | ^^^^^^^
illa-cloud-fe:dev: 44 | `
illa-cloud-fe:dev: 45 | if (withoutShadow) {
illa-cloud-fe:dev: 46 | shadow = css``
illa-cloud-fe:dev:
illa-cloud-fe:dev: ERROR(TypeScript) Right operand of ?? is unreachable because the left operand is never nullish.
illa-cloud-fe:dev: FILE D:/project/github/illa-builder/packages/illa-design/packages/upload/src/list/pictureItem.tsx:64:8
illa-cloud-fe:dev:
illa-cloud-fe:dev: 62 | ) : status === STATUS.FAIL ? (
illa-cloud-fe:dev: 63 | <div css={errorImageContainerStyle}>
illa-cloud-fe:dev: > 64 | {<div css={pictureItemIconStyle}>{imageDom}</div> ?? (
illa-cloud-fe:dev: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
illa-cloud-fe:dev: 65 | <>
illa-cloud-fe:dev: 66 | <ImageDefaultIcon css={errorImageStyle} />
illa-cloud-fe:dev: 67 | <div css={errorImageNameStyle}>{file.name}</div>
illa-cloud-fe:dev:
illa-cloud-fe:dev: ERROR(TypeScript) Type '{ onBlur: Noop; onChange: (value: boolean) => void; checked: any; colorScheme: string; placeholder: string; }' is not assignable to type 'IntrinsicAttributes & { css?: Interpolation<Theme>; } & CheckboxProps & RefAttributes<HTMLLabelElement>'.
illa-cloud-fe:dev: Property 'placeholder' does not exist on type 'IntrinsicAttributes & { css?: Interpolation<Theme>; } & CheckboxProps & RefAttributes<HTMLLabelElement>'.
illa-cloud-fe:dev: FILE D:/project/github/illa-builder/packages/illa-public-component/ResourceGenerator/components/ControlledElement/index.tsx:103:21
illa-cloud-fe:dev:
illa-cloud-fe:dev: 101 | checked={value}
illa-cloud-fe:dev: 102 | colorScheme="techPurple"
illa-cloud-fe:dev: > 103 | placeholder={placeholder}
illa-cloud-fe:dev: | ^^^^^^^^^^^
illa-cloud-fe:dev: 104 | />
illa-cloud-fe:dev: 105 | )}
illa-cloud-fe:dev: 106 | name={name}
illa-cloud-fe:dev:
illa-cloud-fe:dev: ERROR(TypeScript) Type '{ colorScheme: string; w: string; type: "radio"; onBlur: Noop; onChange: (...event: any[]) => void; value: any; placeholder: string; options: string[] | number[] | SelectOptionObject[]; }' is not assignable to type 'IntrinsicAttributes & { css?: Interpolation<Theme>; } & RadioGroupProps<any> & RefAttributes<HTMLDivElement>'.
illa-cloud-fe:dev: Property 'placeholder' does not exist on type 'IntrinsicAttributes & { css?: Interpolation<Theme>; } & RadioGroupProps<any> & RefAttributes<HTMLDivElement>'.
illa-cloud-fe:dev: FILE D:/project/github/illa-builder/packages/illa-public-component/ResourceGenerator/components/ControlledElement/index.tsx:212:19
illa-cloud-fe:dev:
illa-cloud-fe:dev: 210 | onChange={onChange}
illa-cloud-fe:dev: 211 | value={value}
illa-cloud-fe:dev: > 212 | placeholder={placeholder}
illa-cloud-fe:dev: | ^^^^^^^^^^^
illa-cloud-fe:dev: 213 | options={options}
illa-cloud-fe:dev: 214 | {...style}
illa-cloud-fe:dev: 215 | />
illa-cloud-fe:dev:
illa-cloud-fe:dev: ERROR(TypeScript) Type '{ colorScheme: string; w: string; type: "button"; onBlur: Noop; onChange: (...event: any[]) => void; value: any; placeholder: string; forceEqualWidth: boolean | undefined; options: string[] | number[] | SelectOptionObject[]; }' is not assignable to type 'IntrinsicAttributes & { css?: Interpolation<Theme>; } & RadioGroupProps<any> & RefAttributes<HTMLDivElement>'.
illa-cloud-fe:dev: Property 'placeholder' does not exist on type 'IntrinsicAttributes & { css?: Interpolation<Theme>; } & RadioGroupProps<any> & RefAttributes<HTMLDivElement>'.
illa-cloud-fe:dev: FILE D:/project/github/illa-builder/packages/illa-public-component/ResourceGenerator/components/ControlledElement/index.tsx:234:19
illa-cloud-fe:dev:
illa-cloud-fe:dev: 232 | onChange={onChange}
illa-cloud-fe:dev: 233 | value={value}
illa-cloud-fe:dev: > 234 | placeholder={placeholder}
illa-cloud-fe:dev: | ^^^^^^^^^^^
illa-cloud-fe:dev: 235 | forceEqualWidth={forceEqualWidth}
illa-cloud-fe:dev: 236 | options={options}
illa-cloud-fe:dev: 237 | {...style}
illa-cloud-fe:dev:
illa-cloud-fe:dev: [TypeScript] Found 5 errors. Watching for file changes.
illa-builder:dev: Error: The following dependencies are imported but could not be resolved:Source: illacloud/illa-builder