Closed anttikissa closed 12 months ago
The node equivalent works, though installation is much slower (is it compiling something that bun isn't?)
npm init
npm add zeromq@6.0.0-beta.17
node -e "require('zeromq')"
Duplicate of #4959
Fixed by @dylan-conway and @paperdave in #7132
This will be part of the Bun v1.0.17 release, which ships in a few hours from the time of writing.
In the meantime, you can run bun upgrade --canary
Appears this issue with zeromq
is back (with 1.0.25 and 1.0.26 canary)
I opened a new issue #8498
I confirm this is not resolved. Here my comment in the new issue with a link to bug reproduction repo: https://github.com/oven-sh/bun/issues/8498#issuecomment-1919151642
What version of Bun is running?
1.0.4
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
Even requiring the zeromq module doesn't work.
To reproduce, run in an empty directory:
What is the expected behavior?
That the require would work
What do you see instead?
Additional information
First I noticed that Bun tries to load libsodium from non-existing path
/Users/runner/arm-target/opt/libsodium/lib
.I can get a step further by creating that and linking a homebrew-installed libsodium.23.dylib there:
However, now I get this:
and macOS problem report with the following contents: