Closed 7990satyam200 closed 1 week ago
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1 (base) orion
Follow these steps to fix:
cd ui/components/theme/
nano Switcher.tsx
Change the component declaration as follows:
const ThemeSwitcher = ({ className }: { className?: string, size?: number })
This should fix the problem.
+1 @mystogan99's solution works for me!
Fixed in the latest release
11.04 Retrying 1/3... 16.51 ✓ Compiled successfully 16.51 Linting and checking validity of types ... 20.26 Failed to compile. 20.26 20.26 ./components/EmptyChat.tsx:15:22 20.26 Type error: Type '{ size: number; className: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; }'. 20.26 Property 'size' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; }'. 20.26 20.26 13 | return ( 20.26 14 |
20.26 > 15 |
20.26 | ^
20.26 16 |
20.26 17 |
20.26 18 |
mystogan99
commented
2 weeks ago
rb81
commented
1 week ago
ItzCrazyKns
commented
1 week ago
- © Githubissues.
- Githubissues is a development platform for aggregating issues.
20.29 error Command failed with exit code 1. 20.29 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1 (base) orion
Follow these steps to fix:
cd ui/components/theme/
nano Switcher.tsx
Change the component declaration as follows:
This should fix the problem.
+1 @mystogan99's solution works for me!
Fixed in the latest release