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
Environments: .env
Creating an optimized production build ...
(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; }'.
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
▲ Next.js 14.1.4
Environments: .env
Creating an optimized production build ...
(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. (Usenode --trace-deprecation ...
to show where the warning was created) (node:1307260) [DEP0040] DeprecationWarning: Thepunycode
module is deprecated. Please use a userland alternative instead. (Usenode --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 |
can't see the code , here is the picture![Screenshot_20240603_165843](https://github.com/ItzCrazyKns/Perplexica/assets/1572466/a3ab751e-d02c-42d3-9612-3346f8584420)
A fix PR is coming, plz wait
same as #163 for quick fix
Fixed in the latest release