ItzCrazyKns / Perplexica

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

Dependency error? #354

Closed EntropyYue closed 2 months ago

EntropyYue commented 2 months ago

Describe the bug

[perplexica-backend 11/12] RUN yarn install: 0.537 yarn install v1.22.22 0.580 [1/4] Resolving packages... 0.682 [2/4] Fetching packages... 24.05 [3/4] Linking dependencies... 24.06 warning "@langchain/anthropic > zod-to-json-schema@3.23.1" has incorrect peer dependency "zod@^3.23.3". 24.06 warning " > ts-node@10.9.2" has unmet peer dependency "@types/node@*". 33.39 [4/4] Building fresh packages... 126.5 error /home/perplexica/node_modules/sharp: Command failed. 126.5 Exit code: 1 126.5 Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) 126.5 Arguments: 126.5 Directory: /home/perplexica/node_modules/sharp 126.5 Output: 126.5 sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br 126.5 sharp: Installation error: aborted 126.5 sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies 126.5 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 1

To Reproduce Steps to reproduce the behavior:

run docker compose up -d

b3nis commented 2 months ago

I have the exact same issue.

Very excited to try out the project!

Crush-RY commented 2 months ago

same question

ItzCrazyKns commented 2 months ago

Please re-clone Perplexica from Github and run the installation steps again. The issue should be fixed.

EntropyYue commented 2 months ago

Please re-clone Perplexica from Github and run the installation steps again. The issue should be fixed.

Still the same

TrivCodez commented 2 months ago

Still same mate.