Helicone Community Page

Updated 3 weeks ago

Troubleshooting Docker Compose Issues with Yarn Build

has anyone had any luck getting the docker compose to work?

I tried following these instructions but am getting issues with yarn build while the jawn dockerfile is building:

Plain Text
=> ERROR [jawn 10/10] RUN yarn build                                                                      20.6s

...
Plain Text
 ⠦ Service jawn                         Building                                                          127.6s 
 ✔ Service clickhouse-migration-runner  Built                                                              96.7s 
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 2


also tried the edits proposed here: https://github.com/Helicone/helicone/issues/2284#issuecomment-2503055622

but end up with other issues
Plain Text
> [jawn 10/10] RUN yarn build:
0.547 yarn run v1.22.22
0.586 $ tsc && cp src/utils/trace.proto dist/valhalla/jawn/src/utils/trace.proto
15.67 src/lib/handlers/OnlineEvalHandler.ts(102,11): error TS2322: Type 'string' is not assignable to type 'LlmSc
hema'.
15.67 src/lib/handlers/OnlineEvalHandler.ts(103,11): error TS2322: Type 'string' is not assignable to type 'LlmSc
hema'.
15.70 error Command failed with exit code 2.
[+] Running 0/1t https://yarnpkg.com/en/docs/cli/run for documentation about this command.
 ⠼ Service jawn  Building                                                                                  16.5s 
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 2
J
a
4 comments
Hi Aaron, you cuaght the docker compose in a build issue sorry about that! Pushing up a fix now
This PR should fix the issues... just teting now
incredible, thanks Justin!
Add a reply
Sign up and join the conversation on Discord