From 8f279c3e849ac742dd7eb046483ec8eb62d654d1 Mon Sep 17 00:00:00 2001 From: ioni <104294646+IongIer@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:23:38 +0200 Subject: [PATCH] Updates readme to explain bindgen error --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 8b57f965..10547f4e 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,20 @@ docker compose up -d This will create a database, apply migrations and run the app on localhost:3000. +### Troubleshooting + +If you get an error of the form +``` + it looks like the Rust project used to create this Wasm file was linked against + version of wasm-bindgen that uses a different bindgen format than this binary: + + rust Wasm file schema version: 0.2.93 + this binary schema version: 0.2.95 + +``` +That means that the Cargo.lock file was built with a different version of cargo-leptos than your current one. +You have two options to fix this. +Either update cargo-leptos as the lock file was probably created by a newer version than you have or delete the lock file. ## License This source code with the exception of the graphics is licensed under the GNU