**De(Perplexica) issa@23Lap:~/perplexica/Perplexica/ui$ npm run build
perplexica-frontend@1.6.0 build
next build
▲ Next.js 14.1.4
Environments: .env
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types ...Failed to compile.
./components/EmptyChat.tsx:15:22
Type error: Type '{ size: number; className: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; }'.
Property 'size' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; }'.
13 | return (
14 |
15 |
| ^
16 |
17 |
18 |
(Perplexica) issa@23Lap:~/perplexica/Perplexica/ui$scribe the bug**
A clear and concise description of what the bug is.
just follow the steps of the installation process, ui side doesn't build, followed the steps to letter.
=> ERROR [perplexica-frontend 5/5] RUN yarn build 24.9s
[perplexica-frontend 5/5] RUN yarn build:
0.397 yarn run v1.22.19
0.423 $ next build
1.021 Attention: Next.js now collects completely anonymous telemetry regarding usage.
1.022 This information is used to shape Next.js' roadmap and prioritize features.
1.022 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
1.022 https://nextjs.org/telemetry
1.022
1.122 ▲ Next.js 14.1.4
1.122
1.193 Creating an optimized production build ...
2.904 (node:41) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
2.904 (Use node --trace-deprecation ... to show where the warning was created)
12.55 (node:103) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
12.55 (Use node --trace-warnings ... to show where the warning was created)
12.99 (node:103) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
20.36 ✓ Compiled successfully
20.36 Linting and checking validity of types ...
24.75 Failed to compile.
24.75
24.75 ./components/EmptyChat.tsx:15:22
24.75 Type error: Type '{ size: number; className: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; }'.
24.75 Property 'size' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; }'.
24.75
24.75 13 | return (
24.75 14 |
**De(Perplexica) issa@23Lap:~/perplexica/Perplexica/ui$ npm run build
▲ Next.js 14.1.4
Environments: .env
Creating an optimized production build ... ✓ Compiled successfully Linting and checking validity of types ...Failed to compile.
./components/EmptyChat.tsx:15:22 Type error: Type '{ size: number; className: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; }'. Property 'size' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; }'.
13 | return ( 14 |
Same as #163 ... Fix
=> ERROR [perplexica-frontend 5/5] RUN yarn build 24.9s