Closed JoeyEamigh closed 9 months ago
I am not sure if this is very important as one can just use the hashing functions built into the bun runtime, but it may be worth looking at in case there is something bigger going on here!
Duplicate of #2550?
I don't think so since #2550 appears to be related to #5472.
I don't think so since #2550 appears to be related to #5472.
In my comment on #2550 I said that it fails because of napi, but maybe you are right.
Ah I had missed that. I am getting opaque errors on the debug build that are unrelated to having a missing module when there are missing modules so it could be a duplicate for sure.
same here.
I'm using bun with nuxt3 on ubuntu, for bun nuxi dev everything is fine, but after building, argon2 gives segmentation fault
and I found out '@node-rs/argon2' works!
thanks a lot @minkoonim @node-rs/argon2 certainly does work fine. Very pleasant surprise.
Hello everyone,
I'm encountering an issue with the @node-rs/argon2 package in a specific scenario. When running the commands bun run build and bun --hot run src/index.ts, everything works flawlessly. However, the problem arises when attempting to build using any of the following commands:
bun build ./src/index.ts --target bun
bun build ./src/index.ts --target node
bun build --compile ./src/index.ts --outfile=server
In these cases, I consistently receive the following error message:
uh-oh: Internal error: missing asset file
bun will crash now πππ
----- bun meta -----
Bun v1.0.15 (b3bdf22e) macOS Silicon 22.5.0
BuildCommand: dotenv
Elapsed: 59ms | User: 149ms | Sys: 76ms
RSS: 0.17GB | Peak: 0.17GB | Commit: 0.21GB | Faults: 0
----- bun meta -----
0 0x1011c968c
1 ???
2 ???
Thanks!
Hello everyone,
I'm encountering an issue with the @node-rs/argon2 package in a specific scenario. When running the commands bun run build and bun --hot run src/index.ts, everything works flawlessly. However, the problem arises when attempting to build using any of the following commands:
bun build ./src/index.ts --target bun
bun build ./src/index.ts --target node
bun build --compile ./src/index.ts --outfile=server
In these cases, I consistently receive the following error message:
uh-oh: Internal error: missing asset file bun will crash now πππ ----- bun meta ----- Bun v1.0.15 (b3bdf22e) macOS Silicon 22.5.0 BuildCommand: dotenv Elapsed: 59ms | User: 149ms | Sys: 76ms RSS: 0.17GB | Peak: 0.17GB | Commit: 0.21GB | Faults: 0 ----- bun meta ----- 0 0x1011c968c 1 ??? 2 ???
Thanks!
@pablodelamerced This is caused by #3903, and unrelated to this issue
What version of Bun is running?
1.0.3 (main branch ac19c7c)
What platform is your computer?
Linux 6.5.3-arch1-1 x86_64 unknown
What steps can reproduce the bug?
git clone https://github.com/ranisalt/node-argon2.git
bun install
bun run --bun mocha test/test.js
What is the expected behavior?
No segfault!
What do you see instead?
Additional information
I am not sure the best way to debug zig as I have never used it before, but I am happy to be of any assistance I can!