kdaniel2410
kdaniel2410
Explore posts from servers
CDCloudflare Developers
Created by kdaniel2410 on 11/8/2024 in #workers-help
What do you use to hash passwords on Cloudflare workers?
I've tried @node-rs/argon2 and node-argon neither of which seem to work.
3 replies
CDCloudflare Developers
Created by kdaniel2410 on 11/8/2024 in #pages-help
Does @node-rs/argon2 work on Cloudflare pages?
When I try to build locally I get the following error. Im using a M1 MacBook.
✘ [ERROR] Build failed with 1 error:

✘ [ERROR] No loader is configured for ".wasm" files:
argon2.wasm32-wasi-JB7JJ664.wasm?url

_worker.js:20508:22:
20508 │ import __wasmUrl from "./argon2.wasm32-wasi-JB7JJ664.wasm?url";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





✘ [ERROR] Failed to build _worker.js.
✘ [ERROR] Build failed with 1 error:

✘ [ERROR] No loader is configured for ".wasm" files:
argon2.wasm32-wasi-JB7JJ664.wasm?url

_worker.js:20508:22:
20508 │ import __wasmUrl from "./argon2.wasm32-wasi-JB7JJ664.wasm?url";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





✘ [ERROR] Failed to build _worker.js.
2 replies