Try the ping pong example. It'll crash with the symbol lookup error
What is the expected behavior?
I can't get Node WebRTC to work on Bun. Initially when installing using bun add wrtc it wouldn't find the binaries (and for some reason they indeed weren't there), then I built it from source but it gives me this error:
bun: symbol lookup error: /home/gabriel/Desktop/dev/node-webrtc-examples/node_modules/wrtc/build/Release/wrtc.node: undefined symbol: uv_async_init
I know this is related to libuv and I've found the line of code that's giving this error in the Node WebRTC source, here.
What do you see instead?
bun: symbol lookup error: /home/gabriel/Desktop/dev/node-webrtc-examples/node_modules/wrtc/build/Release/wrtc.node: undefined symbol: uv_async_init
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Linux 6.2.0-32-generic x86_64 x86_64 (Ubuntu 22.04.3)
What steps can reproduce the bug?
First clone and initialize
node-webrtc-examples
:npm install
will do it tooexamples
folder except forping-pong
lib/client/index.js
filebun run index.js
What is the expected behavior?
I can't get Node WebRTC to work on Bun. Initially when installing using
bun add wrtc
it wouldn't find the binaries (and for some reason they indeed weren't there), then I built it from source but it gives me this error:I know this is related to libuv and I've found the line of code that's giving this error in the Node WebRTC source, here.
What do you see instead?
Additional information
No response