bytebot icon indicating copy to clipboard operation
bytebot copied to clipboard

Error when running bot using docker

Open nizar2yas opened this issue 1 year ago • 7 comments

I followed the documentation describing how to run the bot using docker compose, when I can access the UI, however, I can't select module nor submit a prompt (screen attached).

when I check the logs in docker I see this error :

Error: Cannot find module '/app/bytebot-agent/node_modules/@prisma/client/runtime/query_engine_bg.postgresql.wasm-base64.js' Require stack:

  • /root/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/index.js

I'm using gemini as LLM, I defined the GOOGLE_API_KEY in .env

nizar2yas avatar Sep 10 '25 19:09 nizar2yas

same error here

FranciscoDeCastro avatar Sep 10 '25 22:09 FranciscoDeCastro

same

jmorgan-wellovate avatar Sep 11 '25 01:09 jmorgan-wellovate

same

lylh avatar Sep 11 '25 02:09 lylh

Here is my solution:

  1. Search for "bytebot-ai/bytebot-agent:edge" in the ./docker folder, comment it out, and use a self-built image instead.
  2. In ./bytebot-agent/Dockerfile, add a line RUN npx prisma generate before the line RUN npm install.
  3. Remove the existing containers and restart.

wodecolud avatar Sep 11 '25 03:09 wodecolud

+same

Brahmveda-PM avatar Sep 11 '25 14:09 Brahmveda-PM

Should be fixed with https://github.com/bytebot-ai/bytebot/commit/3d37894ce07ef8d8b40adc7fd309ad96c2a71313

atupem avatar Sep 11 '25 15:09 atupem

I works now thx

nizar2yas avatar Sep 12 '25 19:09 nizar2yas