openclaw - 💡(How to fix) Fix [Bug] openclaw configure: Multiple plugins fail with RangeError: Maximum call stack size exceeded [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#61837Fetched 2026-04-08 02:53:47
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
3
Author
Timeline (top)
commented ×1subscribed ×1

Running openclaw configure causes multiple plugins to fail loading with RangeError: Maximum call stack size exceeded, followed by a massive schema compilation error output.

Error Message

[plugins] google failed to load from ...\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded Error compiling schema, function code: <massive minified output> [plugins] minimax failed to load from ...\dist\extensions\minimax\index.js: RangeError: Maximum call stack size exceeded [plugins] talk-voice failed to load from ...\dist\extensions\talk-voice\index.js: RangeError: Maximum call stack size exceeded [plugins] openclaw-lark failed to load from ...\extensions\openclaw-lark\index.js: RangeError: Maximum call stack size exceeded [plugins] openclaw-weixin failed to load from ...\extensions\openclaw-weixin\index.ts: RangeError: Maximum call stack size exceeded

Root Cause

Running openclaw configure causes multiple plugins to fail loading with RangeError: Maximum call stack size exceeded, followed by a massive schema compilation error output.

Code Example

[plugins] google failed to load from ...\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded
Error compiling schema, function code: <massive minified output>
[plugins] minimax failed to load from ...\dist\extensions\minimax\index.js: RangeError: Maximum call stack size exceeded
[plugins] talk-voice failed to load from ...\dist\extensions\talk-voice\index.js: RangeError: Maximum call stack size exceeded
[plugins] openclaw-lark failed to load from ...\extensions\openclaw-lark\index.js: RangeError: Maximum call stack size exceeded
[plugins] openclaw-weixin failed to load from ...\extensions\openclaw-weixin\index.ts: RangeError: Maximum call stack size exceeded
RAW_BUFFERClick to expand / collapse

Description

Running openclaw configure causes multiple plugins to fail loading with RangeError: Maximum call stack size exceeded, followed by a massive schema compilation error output.

Environment

  • OpenClaw version: 2026.4.5 (3e72c03)
  • OS: Windows 11 Pro for Workstations 10.0.26200 (x64)
  • Node.js: v22.22.0
  • Install method: npm global

Steps to Reproduce

  1. Run openclaw configure

Observed Behavior

Multiple plugins fail to load with stack overflow errors:

[plugins] google failed to load from ...\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded
Error compiling schema, function code: <massive minified output>
[plugins] minimax failed to load from ...\dist\extensions\minimax\index.js: RangeError: Maximum call stack size exceeded
[plugins] talk-voice failed to load from ...\dist\extensions\talk-voice\index.js: RangeError: Maximum call stack size exceeded
[plugins] openclaw-lark failed to load from ...\extensions\openclaw-lark\index.js: RangeError: Maximum call stack size exceeded
[plugins] openclaw-weixin failed to load from ...\extensions\openclaw-weixin\index.ts: RangeError: Maximum call stack size exceeded

The affected plugins include both bundled (google, minimax, talk-voice) and local (openclaw-lark, openclaw-weixin) plugins.

Expected Behavior

openclaw configure should load all plugins without stack overflow.

Notes

  • Only affects configure commandopenclaw status, openclaw doctor, and the gateway all load plugins successfully without any stack overflow.
  • This suggests the issue is in the schema compilation/validation path specific to the configure wizard, likely in the ajv (JSON Schema validator) step, which may exhaust the call stack and cause subsequent plugin loads to also fail.
  • The first "Error compiling schema" line dumps a huge minified function body to stderr, which appears to be the compiled schema validator code.

🦞 Filed via Claude Code

extent analysis

TL;DR

The issue can likely be mitigated by adjusting the schema compilation or validation process in the openclaw configure command to prevent excessive recursion.

Guidance

  • Investigate the ajv (JSON Schema validator) step in the configure wizard to identify potential causes of excessive recursion.
  • Verify if the issue is specific to certain plugins or if it's a general problem with the schema compilation process.
  • Consider increasing the stack size limit in Node.js to see if it temporarily resolves the issue, although this may not address the underlying cause.
  • Review the schema definitions for the affected plugins to ensure they are correctly formatted and do not contain recursive references that could lead to stack overflows.

Example

No specific code example can be provided without further details on the schema definitions or the ajv configuration used in the openclaw configure command.

Notes

The fact that the issue only affects the configure command and not other commands like status or doctor suggests that the problem is specific to the schema compilation or validation process used in the configure wizard. The massive schema compilation error output indicates a potential issue with the compiled schema validator code.

Recommendation

Apply a workaround by adjusting the schema compilation or validation process, as the root cause of the issue seems to be related to the specific implementation of the configure command rather than a version-specific bug that could be fixed by upgrading.

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