Rust-wasm problem: ERR_OSSL_EVP_UNSUPPORTED

⚓ rust    📅 2025-06-17    👤 surdeus    👁️ 2      

surdeus

I have an issue regarding Rust with WebAssembly. I'm currently trying to get the first application aka website to run, I followed the official guide:

  1. Generating the project with cargo-generate from the template
  2. Installing wasm-pack and running wasm-pack build to get the /pkg directory
  3. Running npm init wasm-app www to get the /www directory
  4. Installing the webpack dependency (once)
  5. Adding the dependency to the /pkg directory
  6. Changing the import to use the specified dependency (wasm-game-of-life)
  7. npm run start - that's where I get an Error! (nothing appears on http://localhost:8080/ too)

The Error:

complete Error after 'npm run start' (click for more details)

I am not sure what this exactly mean, so, did I do sth wrong? And if yes, what? If not, what do I need to do? (I already tried node --trace-deprecation, but it didn't really help)
I also looked up the error, but it seems to be a more general one...
Thanks in advance!

1 post - 1 participant

Read full topic

🏷️ rust_feed