#Can't install openclaw on Windows

1 messages · Page 1 of 1 (latest)

icy echo
#

Got this error messsage halfway through onboard:

Default model
| Keep current (openai-codex/gpt-5.4)
Error: Cannot find module '@larksuiteoapi/node-sdk'
Require stack:

  • C:\Users\dell\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\feishu\client-yWGpoGkZ.js
    PS C:\WINDOWS\system32>
modest canyonBOT
livid breachBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

modest canyonBOT
nimble ploverBOT
#

That looks like a bundled plugin dependency issue, not something you misconfigured. The missing package is for the Feishu/Lark plugin.

First, can you paste:

openclaw --version

Then try:

openclaw doctor --fix
openclaw onboard

If doctor also blows up, or you're on an older build, refresh the install and retry:

#

If it still fails, paste the output of openclaw --version and openclaw doctor --fix and I’ll narrow it down.

icy echo
#

🦞 OpenClaw 2026.4.21 (f788c88)
T OpenClaw doctor
|
o Gateway ----------------------------------------------------------+
| |
| gateway.mode is unset; gateway start will be blocked. |
| Fix: run openclaw configure and set Gateway mode (local/remote). |
| Or set directly: openclaw config set gateway.mode local |
| |
+--------------------------------------------------------------------+
|
o State integrity ---------------------------------------------------------------+
| |
| - OAuth dir not present (~.openclaw\credentials). Skipping create because no |
| WhatsApp/pairing channel config is active. |

Gateway ------------------------------------------------------------------------------+
| |
| Runtime: stopped (state Ready, last run 267014, last run time 4/22/2026 10:01:24 AM, |
| Task Last Run Result=267014; treating as not running.) |
| Service is loaded but not running (likely exited immediately). |
| File logs: C:\Users\dell\AppData\Local\Temp\openclaw\openclaw-2026-04-22.log |
| Logs: schtasks /Query /TN "OpenClaw Gateway" /V /FO LIST |
| Restart attempts: C:\Users\dell.openclaw\logs\gateway-restart.log |

nimble ploverBOT
#

Nice, that helps. I think you’ve got two separate things here:

  1. The real crash is the missing Feishu/Lark runtime dep (@larksuiteoapi/node-sdk)
  2. gateway.mode is unset is probably just fallout from onboarding dying halfway through

Since you’re on 2026.4.21, I’d update first. A bunch of bundled-plugin runtime-deps fixes landed right around this area.

Try this in order:

openclaw update
openclaw config set gateway.mode local
openclaw doctor --fix
openclaw onboard

If openclaw update fails, use:

#

If native Windows keeps fighting you after that, I’d switch to WSL2. It’s still the smoother path on Windows.