I just started running Perplexica on MacOS by using code docker compose up -d, however, the system tells that:
`=> ERROR [perplexica-frontend 5/5] RUN yarn build 20.5s
[perplexica-frontend 5/5] RUN yarn build:
0.265 yarn run v1.22.19
0.281 $ next build
0.603 Attention: Next.js now collects completely anonymous telemetry regarding usage.
0.603 This information is used to shape Next.js' roadmap and prioritize features.
0.603 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:
0.603 https://nextjs.org/telemetry
0.603
0.656 ▲ Next.js 14.1.4
0.656
0.703 Creating an optimized production build ...
2.056 (node:41) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
2.056 (Use node --trace-deprecation ... to show where the warning was created)
9.572 (node:91) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
9.572 (Use node --trace-warnings ... to show where the warning was created)
9.867 (node:91) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
16.42 ✓ Compiled successfully
16.42 Linting and checking validity of types ...
20.42 Failed to compile.
20.42
20.42 ./components/EmptyChat.tsx:15:22
20.42 Type error: Type '{ size: number; className: string; }' is not assignable to type 'IntrinsicAttributes & { className?: string | undefined; }'.
20.42 Property 'size' does not exist on type 'IntrinsicAttributes & { className?: string | undefined; }'.
20.42
20.42 13 | return (
20.42 14 |
Refer to #175 and can be resolved as below
ThemeSwitcher.tsx and Navbar.tsx have an invalid size prop, editing them out to only use the class name prop resolves the issue
I just started running Perplexica on MacOS by using code
docker compose up -d
, however, the system tells that:`=> ERROR [perplexica-frontend 5/5] RUN yarn build 20.5s