Error when running bot using docker
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
same error here
same
same
Here is my solution:
- Search for
"bytebot-ai/bytebot-agent:edge"in the./dockerfolder, comment it out, and use a self-built image instead. - In
./bytebot-agent/Dockerfile, add a lineRUN npx prisma generatebefore the lineRUN npm install. - Remove the existing containers and restart.
+same
Should be fixed with https://github.com/bytebot-ai/bytebot/commit/3d37894ce07ef8d8b40adc7fd309ad96c2a71313
I works now thx