Common OpenClaw installation errors and how to fix them

OpenClaw installation troubleshooting guide
A recent post on r/openclaw addresses recurring installation and runtime errors for the OpenClaw tool, providing specific commands and fixes.
Key issues and fixes
"installed but openclaw is not discoverable"
This occurs when npm's global bin directory is not in your PATH. The binary exists but cannot be found.
- Run
npm prefix -gto find your global prefix. - Add
<prefix>/binto your$PATHin.bashrcor.zshrc. - Reload your shell, then
openclaw --versionshould work.
"EACCES: permission denied" on install
This is a permissions issue with npm's default global directory, often owned by root.
- Do not use
sudo. - Configure a user-owned prefix instead:
mkdir -p ~/.npm-global npm config set prefix '~/.npm-global' export PATH="$HOME/.npm-global/bin:$PATH" - Add the export to your shell config and re-run the install without sudo.
Old Node.js silent failures
OpenClaw requires Node.js 22+. Older versions may install without error but produce a binary that breaks at runtime.
- Always check
node --versionfirst.
"inappropriate ioctl for device"
This is a TTY issue, common in Docker containers or CI environments without a real terminal.
- Run
openclaw onboard --non-interactive --accept-riskto skip the interactive wizard.
Telegram plugin stuck as "not available"
If a previous broken install left the Telegram plugin in a partially configured state, it can get stuck.
- Run
openclaw doctor --fixto clear the state.
Note on "gateway connect pairing required"
This message is not an installation error. It relates to DM policy, where OpenClaw requires manual pairing before responding to DMs by default. Refer to the OpenClaw documentation on channel configuration.
📖 Read the full source: r/openclaw
👀 See Also

Setting Up MCP Servers in llama-server Web UI: A Practical Guide
A Reddit user shares specific steps to configure MCP servers in llama-server's web UI, including installing uv, creating a config.json file with server definitions, running mcp-proxy, and modifying URLs for proper integration.

Multi-Agent Architecture: Avoiding the Single-Agent Pitfall in AI Systems
A Reddit post identifies the common architectural mistake of using a single agent for multiple tasks, which leads to fragile systems requiring constant babysitting. The solution proposed is an orchestrator-specialist model where each agent has a narrow, specific role.

Automating OAuth Token Refresh for Bots Using Claude Code
A Reddit user shares a method to prevent OAuth token expiration by configuring Claude Code to automatically refresh tokens every 8 hours, keeping bots running continuously without manual intervention.

Configuring OpenClaw for Smooth Agent-to-Agent Communication
A Reddit user shares specific configuration settings for OpenClaw that reduce timeouts in agent-to-agent communication, including tool visibility settings, memory directives, and workarounds for the ANNOUNCE_SKIP limitation.