From 1097b3e420807056c61e13277e965890c8ec3a00 Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Tue, 13 Jan 2026 10:05:09 -0800 Subject: [PATCH 1/4] setup: hardcode wasm-tools to working version --- src/setup/mod.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/setup/mod.rs b/src/setup/mod.rs index 6d948c67..0a2a509a 100644 --- a/src/setup/mod.rs +++ b/src/setup/mod.rs @@ -20,6 +20,7 @@ const MINIMUM_NPM_MINOR: u32 = 0; pub const REQUIRED_PY_MAJOR: u32 = 3; pub const MINIMUM_PY_MINOR: u32 = 10; pub const REQUIRED_PY_PACKAGE: &str = "componentize-py==0.11.0"; +const WASM_TOOLS_VERSION: &str = "v1.225.0"; #[derive(Clone)] pub enum Dependency { @@ -476,7 +477,11 @@ fn install_deps(deps: Vec, verbose: bool, toolchain: &str) -> Result Dependency::RustWasm32Wasi => { call_rustup("target add wasm32-wasip1", verbose, toolchain)? } - Dependency::WasmTools => call_cargo("install wasm-tools", verbose, toolchain)?, + Dependency::WasmTools => call_cargo( + &format!("install wasm-tools --version {WASM_TOOLS_VERSION}"), + verbose, + toolchain, + )?, Dependency::Foundry => install_foundry(verbose)?, Dependency::Docker => {} } From 41ed3b3a0289d0c351fcde8c2c6a4a8eff45ca03 Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Tue, 13 Jan 2026 10:09:10 -0800 Subject: [PATCH 2/4] setup: fix wasm-tools version number --- src/setup/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup/mod.rs b/src/setup/mod.rs index 0a2a509a..419a601b 100644 --- a/src/setup/mod.rs +++ b/src/setup/mod.rs @@ -20,7 +20,7 @@ const MINIMUM_NPM_MINOR: u32 = 0; pub const REQUIRED_PY_MAJOR: u32 = 3; pub const MINIMUM_PY_MINOR: u32 = 10; pub const REQUIRED_PY_PACKAGE: &str = "componentize-py==0.11.0"; -const WASM_TOOLS_VERSION: &str = "v1.225.0"; +const WASM_TOOLS_VERSION: &str = "1.225.0"; #[derive(Clone)] pub enum Dependency { From be3b667fb2d470c7eac4eebbcb5e0b9d035fdd48 Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Tue, 13 Jan 2026 10:16:35 -0800 Subject: [PATCH 3/4] setup: fix wasm-tools deps --- src/setup/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup/mod.rs b/src/setup/mod.rs index 419a601b..fdc83bc0 100644 --- a/src/setup/mod.rs +++ b/src/setup/mod.rs @@ -478,7 +478,7 @@ fn install_deps(deps: Vec, verbose: bool, toolchain: &str) -> Result call_rustup("target add wasm32-wasip1", verbose, toolchain)? } Dependency::WasmTools => call_cargo( - &format!("install wasm-tools --version {WASM_TOOLS_VERSION}"), + &format!("install wasm-tools --locked --version {WASM_TOOLS_VERSION}"), verbose, toolchain, )?, From 4f7b25625bcc12a9b318d32aad506214ab52fc17 Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Tue, 13 Jan 2026 11:22:01 -0800 Subject: [PATCH 4/4] add appendix for deps --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 9ad217d8..031eb52d 100644 --- a/README.md +++ b/README.md @@ -96,3 +96,29 @@ NodeJS (v18 or higher) and NPM are required to build and develop the UI. The UI is written in React with Vite as the bundler + reloader. To use `npm start` instead of `npm run dev`, use `kit dev-ui --release`. + +## Appendix: Deps for Debian/Ubuntu + +```bash +apt update +DEBIAN_FRONTEND=noninteractive apt install -y curl git build-essential pkg-config libssl-dev libclang-dev python3 python3-venv + +curl https://sh.rustup.rs -sSf | sh -s -- -y +. ~/.bashrc +cargo install --git https://github.com/hyperware-ai/kit --locked +kit setup -d --non-interactive +. ~/.bashrc +``` + +## Appendix: Deps for macOS + +```bash +xcode-select --install +brew install pkg-config llvm openssl@3 python@3.12 libusb + +curl https://sh.rustup.rs -sSf | sh -s -- -y +. ~/.bashrc +cargo install --git https://github.com/hyperware-ai/kit --locked +kit setup -d --non-interactive +. ~/.bashrc +```