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

[BUG]: pnpm build faild #408

Open
kitmanten opened this issue May 23, 2024 · 1 comment
Open

[BUG]: pnpm build faild #408

kitmanten opened this issue May 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@kitmanten
Copy link

Issue description

[email protected] build /home/ubuntu/services/jsoncrack.com-3.2.0
next build

  • info Loaded env from /home/ubuntu/services/jsoncrack.com-3.2.0/.env.production
  • info Linting and checking validity of types .Failed to compile.

./src/containers/Editor/JsonEditor/index.tsx:88:11
Type error: No overload matches this call.
Overload 1 of 2, '(props: PolymorphicComponentProps<"web", FastOmit<{}, never>, void, void, {}, {}>): Element', gave the following error.
Type '{ placeholder: string; value: string; onChange: (e: any) => void; rightSectionWidth: number; maxLength: number; disabled: boolean; onKeyDown: (event: React.KeyboardEvent<...> | KeyboardEvent) => void; onSubmit: () => Promise<...>; rightSection: Element; icon: Element; radius: number; }' is not assignable to type 'IntrinsicAttributes & FastOmit<Substitute<FastOmit<{}, never>, FastOmit<{}, never>>, keyof ExecutionProps> & FastOmit<...> & { ...; }'.
Property 'placeholder' does not exist on type 'IntrinsicAttributes & FastOmit<Substitute<FastOmit<{}, never>, FastOmit<{}, never>>, keyof ExecutionProps> & FastOmit<...> & { ...; }'.
Overload 2 of 2, '(props: FastOmit<{}, never>): ReactNode', gave the following error.
Type '{ placeholder: string; value: string; onChange: (e: any) => void; rightSectionWidth: number; maxLength: number; disabled: boolean; onKeyDown: (event: React.KeyboardEvent<...> | KeyboardEvent) => void; onSubmit: () => Promise<...>; rightSection: Element; icon: Element; radius: number; }' is not assignable to type 'IntrinsicAttributes & FastOmit<{}, never>'.
Property 'placeholder' does not exist on type 'IntrinsicAttributes & FastOmit<{}, never>'.

86 |


87 | <StyledPromptInput

88 | placeholder="Ask JSON Crack AI to transform the data"
| ^
89 | value={prompt}
90 | onChange={e => setPrompt(e.currentTarget.value)}
91 | rightSectionWidth={60}

Media & Screenshots

No response

Operating system

  • OS: [e.g. iOS] ubuntu 22.40

  • Browser [e.g. chrome, safari]:

  • Any other details...

Priority this issue should have

Medium (should be fixed soon)

@kitmanten kitmanten added the bug Something isn't working label May 23, 2024
@AykutSarac
Copy link
Owner

Looks like old file structure to me, can you pull the repository then try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants