WaspW
Waspβ€’2y ago
otrojka

Dependency issue with fly.io server deploy

Hello everyone πŸ‘‹ ,
I followed the instruction and deployed SaaS template with wasp deploy fly launch <project-name> iad

client and database were created with no issues but server returns attached error message.

πŸ‘‰ In short fly server machine logs these missing dependencies
  • Error: Cannot find module '@node-rs/argon2-wasm32-wasi'
    • Error: Cannot find module '@node-rs/argon2-linux-x64-musl'
      πŸ‘‰ I narrowed it down to being caused by: https://github.com/pilcrowOnPaper/oslo/issues/25 caused by oslo and lucia dependency @node-rs/argon2 which is used by wasp I am not sure how to configure the sdk versions as it seems to be built in wasp cli commad.
πŸ‘‰ It seems to be linked to this recently opened wasp issue: https://github.com/wasp-lang/wasp/issues/2136

Wasp: 0.13.2

πŸ€” I wonder if I am the only one with this dependency error...
Was this page helpful?