Helicone Community Page

Updated 2 years ago

Issues · cloudflare/workers-sdk

Hi, i am trying to run and test helicone locally on my macbook. One issue i met is with the worker "2023-06-05 12:56:12 /usr/local/lib/node_modules/wrangler/node_modules/@cloudflare/workerd-linux-64/bin/workerd: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory. MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above." Any suggestions on how to go around this? I tried some suggestions from https://github.com/cloudflare/workers-sdk/issues/2985, but no luck. Thank you!
J
y
35 comments
Let's try to figure this out
i am trying to check how to install libc++1 on mac. But not sure if that is the correct way to go
oh this should be straight forward
brew install coreutils

It might be here ^
trying that now
hmmm, still met the same issue
Will running it in Docker be an okay option?
I cna walk you through that
yeah, i am running using docker
inside docker dir, 'docker compose up'
oh interesting
let me try to reproduce
$node -v v19.7.0
within the container right?
are you asking if the node version command is from within the container?
sorry, my bad, it is 18.11.0 within container. ignore my previous comment
I think I know the issue
docker build -t helicone/worker -f dockerfiles/dockerfile_worker .

Then

docker compose up
still got the issue after rebuilding docker for the worker
added some explicit instllation of libc++1 in the docker image and rebuild. seems not working
Attachment
Screenshot_2023-06-05_at_2.33.45_PM.png
hmm sorry I am going afk for a bit. I can take a look at this later tonight or tomorrow
If you wanna debug together - feel free to throw some time on my calendar:

https://calendly.com/event_types/user/me
I added "RUN apt-get update && apt-get install -y clang libc++-dev libc++abi-dev" to the worker dockerfile and seems it is able to run
thx for all the help! the ui is awesome
WOOHOOO! I am so glad you were able to solve it. Thank you for digging deep into this issue and solving it.

Would you like to contribute this upstream? I am sure other folks are expereiencing the same issue
yay! I am so glad you are liking it
sounds good. By contribute to upstream, do you mean to wrangler?
I mean to the docker file on the helicone repo
cool, will do that today
Merged! Thank you!
Add a reply
Sign up and join the conversation on Discord