Running OpenClaw 2026.4.20 on a Windows 11 host. The gateway runs inside a Docker container (Linux). We installed the openclaw CLI globally on the Windows host via npm install -g openclaw@2026.4.20 to set up a headless node host via openclaw node install.
The CLI fails on startup with:
Failed to read config at ~.openclaw\openclaw.json
Error: Cannot find module 'grammy'
The existing openclaw.json on the Windows host is the full gateway config with Telegram enabled. Inside the container, grammy is available as part of the image. On the host npm install, it isn't bundled.
Questions:
Is openclaw node install / openclaw node run expected to load the full gateway config on startup, or is this a side effect of the CLI finding the existing openclaw.json?
Is there a way to run node commands without loading the full config ā e.g. a --config flag pointing to a minimal stub, or a flag to skip config loading entirely?
Is the right fix to install grammy globally on the host, or is there a cleaner pattern for running a node host alongside an existing gateway config on the same machine?