openclaw - 💡(How to fix) Fix Windows: Missing Discord runtime dependencies after npm global install [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72232Fetched 2026-04-27 05:32:54
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Author
Timeline (top)
closed ×1commented ×1

After global npm install, the Discord channel fails to load because 4 runtime dependencies are missing from the installed
ode_modules:

  • \discord-api-types\
  • @buape/carbon\
  • @discordjs/voice\
  • \opusscript\

These packages exist in the staged runtime-deps tree (~/.openclaw/plugin-runtime-deps/openclaw-2026.4.24-*/node_modules/) but were never copied into the live install (\AppData/Roaming/npm/node_modules/openclaw/node_modules/).

Root Cause

Description

After global npm install, the Discord channel fails to load because 4 runtime dependencies are missing from the installed
ode_modules:

RAW_BUFFERClick to expand / collapse

Environment

  • Windows 10, Node v22.22.0, OpenClaw 2026.4.24
  • Installed via
    pm i -g openclaw@latest\

Description

After global npm install, the Discord channel fails to load because 4 runtime dependencies are missing from the installed
ode_modules:

  • \discord-api-types\
  • @buape/carbon\
  • @discordjs/voice\
  • \opusscript\

These packages exist in the staged runtime-deps tree (~/.openclaw/plugin-runtime-deps/openclaw-2026.4.24-*/node_modules/) but were never copied into the live install (\AppData/Roaming/npm/node_modules/openclaw/node_modules/).

Local fix applied

Manually copied all 4 packages from runtime-deps into the live install's
ode_modules.

Impact

Discord channel cannot initialize on any fresh Windows install. Likely affects other platforms too if the runtime-deps copy step is skipped.

extent analysis

TL;DR

The issue can be resolved by ensuring the required runtime dependencies are properly copied into the live install's node_modules directory.

Guidance

  • Verify that the runtime-deps tree is correctly staged and contains all required dependencies.
  • Check the installation script or process to ensure the copy step for runtime dependencies is executed and completes successfully.
  • Consider modifying the installation process to automatically copy the required dependencies into the live install's node_modules directory.
  • Investigate potential issues with the openclaw installation script or the npm installation process that may be causing the dependencies to be skipped.

Example

No code snippet is provided as the issue seems to be related to the installation process rather than a specific code error.

Notes

The issue may be specific to the Windows 10 environment and the openclaw version 2026.4.24. Further investigation is needed to determine if this issue affects other platforms or versions.

Recommendation

Apply a workaround by manually copying the required dependencies into the live install's node_modules directory, as described in the local fix applied, until a permanent solution can be implemented to ensure the dependencies are properly installed during the installation process.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Windows: Missing Discord runtime dependencies after npm global install [1 comments, 2 participants]