ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
10.77k stars 948 forks source link

Compile Error in ui fold #165

Closed DantesLin closed 1 week ago

DantesLin commented 1 month ago

my env is : npm -v : 10.7.0 linux: archlinux

when I try to run the command in ui fold , it return me the follow tips:

[develop@develop ui]$ npm run build

perplexica-frontend@1.6.0 build next build

▲ Next.js 14.1.4

(process:1307104): VIPS-WARNING **: 16:48:58.474: unable to load "/usr/lib/vips-modules-8.15/vips-openslide.so" -- libopenslide.so.1: cannot open shared object file: No such file or directory (node:1307104) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) (node:1307260) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) ✓ 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 |

DantesLin commented 1 month ago

can't see the code , here is the picture Screenshot_20240603_165843

WanQuanXie commented 1 month ago

A fix PR is coming, plz wait

bigsk1 commented 4 weeks ago

same as #163 for quick fix

ItzCrazyKns commented 1 week ago

Fixed in the latest release