From 4e2bd79cddeeaa6e0d6b1eed2593c88a3c784f36 Mon Sep 17 00:00:00 2001 From: spiceoogway Date: Fri, 30 Jan 2026 10:06:37 -0500 Subject: [PATCH] fix: make @mariozechner/clipboard optional for ARM compatibility Fixes #4596 The clipboard package doesn't provide native binaries for linux-arm-gnueabihf (32-bit ARM). Since OpenClaw has its own clipboard implementation and doesn't rely on pi-coding-agent's clipboard functionality, we can safely make this an optional dependency. This allows OpenClaw to run on 32-bit Raspberry Pi systems without encountering the 'Cannot find module' error during startup. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 77211d865..38c158fa7 100644 --- a/package.json +++ b/package.json @@ -209,6 +209,7 @@ "zod": "^4.3.6" }, "optionalDependencies": { + "@mariozechner/clipboard": "^0.3.0", "@napi-rs/canvas": "^0.1.88", "node-llama-cpp": "3.15.0" },