[GH-ISSUE #94] Can't build docker image #61

Closed
opened 2026-02-22 18:17:44 -05:00 by yindo · 1 comment
Owner

Originally created by @belsakn on GitHub (Jun 20, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/94

Hey,

Trying to run the project locally and having some problems :/

When running docker-compose up -d --build
I get his error:

 => ERROR [anything-llm server-deps 3/3] RUN cd ./server/ && yarn install --production && yarn cache clean &&     rm /app/server/node_modules/vectordb/x86_64-apple-darwin.node &&     rm /app/server/node_modules/vectordb/aarch64-apple-darwin.node                              1.0s
------                                                                                                                                                                                                                                                                                  
 > [anything-llm server-deps 3/3] RUN cd ./server/ && yarn install --production && yarn cache clean &&     rm /app/server/node_modules/vectordb/x86_64-apple-darwin.node &&     rm /app/server/node_modules/vectordb/aarch64-apple-darwin.node:
#0 0.800 yarn install v1.22.19
#0 0.917 [1/5] Validating package.json...
#0 0.927 error anything-llm-server@0.0.1-beta: The engine "node" is incompatible with this module. Expected version ">=18.12.1". Got "12.22.9"
#0 0.940 error Found incompatible module.
#0 0.941 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
failed to solve: process "/bin/sh -c cd ./server/ && yarn install --production && yarn cache clean &&     rm /app/server/node_modules/vectordb/x86_64-apple-darwin.node &&     rm /app/server/node_modules/vectordb/aarch64-apple-darwin.node" did not complete successfully: exit code: 1
Originally created by @belsakn on GitHub (Jun 20, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/94 Hey, Trying to run the project locally and having some problems :/ When running `docker-compose up -d --build` I get his error: ``` => ERROR [anything-llm server-deps 3/3] RUN cd ./server/ && yarn install --production && yarn cache clean && rm /app/server/node_modules/vectordb/x86_64-apple-darwin.node && rm /app/server/node_modules/vectordb/aarch64-apple-darwin.node 1.0s ------ > [anything-llm server-deps 3/3] RUN cd ./server/ && yarn install --production && yarn cache clean && rm /app/server/node_modules/vectordb/x86_64-apple-darwin.node && rm /app/server/node_modules/vectordb/aarch64-apple-darwin.node: #0 0.800 yarn install v1.22.19 #0 0.917 [1/5] Validating package.json... #0 0.927 error anything-llm-server@0.0.1-beta: The engine "node" is incompatible with this module. Expected version ">=18.12.1". Got "12.22.9" #0 0.940 error Found incompatible module. #0 0.941 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ------ failed to solve: process "/bin/sh -c cd ./server/ && yarn install --production && yarn cache clean && rm /app/server/node_modules/vectordb/x86_64-apple-darwin.node && rm /app/server/node_modules/vectordb/aarch64-apple-darwin.node" did not complete successfully: exit code: 1 ```
yindo added the Docker label 2026-02-22 18:17:44 -05:00
yindo closed this issue 2026-02-22 18:17:44 -05:00
Author
Owner

@belsakn commented on GitHub (Jun 20, 2023):

Changing image tp sitespeedio/node:ubuntu-22.04-nodejs-18.16.0 and removing nodejs installed solved it for me.

@belsakn commented on GitHub (Jun 20, 2023): Changing image tp `sitespeedio/node:ubuntu-22.04-nodejs-18.16.0` and removing nodejs installed solved it for me.
yindo changed title from Can't build docker image to [GH-ISSUE #94] Can't build docker image 2026-06-05 14:33:16 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#61