openclaw - 💡(How to fix) Fix [Bug]: 2026.4.5: device commands fail because google plugin crashes with RangeError: Maximum call stack size exceeded [1 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#62084Fetched 2026-04-08 03:09:15
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
renamed ×2

Error Message

PS C:\Users\Administrator> openclaw devices approve --latest 02:02:58+07:00 [plugins] google failed to load from C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded

Root Cause

After updating OpenClaw to 2026.4.5 on Windows, device-related commands fail because the bundled google plugin fails to load with:

Fix Action

Fix / Workaround

  1. Is this a known issue in 2026.4.5 on Windows?
  2. Is there a workaround (for example clearing plugin/cache state, reinstalling globally, or temporarily disabling the google plugin)?
  3. Should these device commands still work even if one plugin fails to load?

Code Example

PS C:\Users\Administrator> openclaw devices approve --latest
02:02:58+07:00 [plugins] google failed to load from C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded

---

PS C:\Users\Administrator> openclaw devices list
02:05:41+07:00 [plugins] google failed to load from C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded
RAW_BUFFERClick to expand / collapse

Problem

After updating OpenClaw to 2026.4.5 on Windows, device-related commands fail because the bundled google plugin fails to load with:

  • RangeError: Maximum call stack size exceeded

Affected commands

1) openclaw devices approve --latest

PS C:\Users\Administrator> openclaw devices approve --latest
02:02:58+07:00 [plugins] google failed to load from C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded

This command then continues dumping a very long schema-compilation trace to the console.

2) openclaw devices list

PS C:\Users\Administrator> openclaw devices list
02:05:41+07:00 [plugins] google failed to load from C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\google\index.js: RangeError: Maximum call stack size exceeded

Environment

  • OS: Windows
  • OpenClaw version: 2026.4.5
  • Global install path: C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw

Expected behavior

  • openclaw devices approve --latest should run normally
  • openclaw devices list should run normally
  • a plugin load failure should not break basic device commands
  • if a plugin fails, OpenClaw should ideally report a short clear error instead of dumping a huge schema compilation trace

Notes

It looks like the issue may happen while loading the bundled google extension/plugin on Windows after the update.

Questions

  1. Is this a known issue in 2026.4.5 on Windows?
  2. Is there a workaround (for example clearing plugin/cache state, reinstalling globally, or temporarily disabling the google plugin)?
  3. Should these device commands still work even if one plugin fails to load?

If needed, I can provide the full trace separately, but I trimmed this issue down to the key error to keep it readable.

extent analysis

TL;DR

  • The issue can be potentially resolved by temporarily disabling the google plugin or clearing the plugin/cache state to prevent the RangeError: Maximum call stack size exceeded error.

Guidance

  • Try disabling the google plugin to see if the device commands work without it, which can help determine if the issue is plugin-specific.
  • Clear the plugin/cache state by deleting the C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\google directory and then reinstalling the OpenClaw package globally.
  • Verify if the issue is specific to the Windows environment or if it occurs on other platforms as well, to determine if it's an OS-specific problem.
  • Check if there are any known issues in the OpenClaw version 2026.4.5 related to plugin loading or the google plugin specifically.

Example

No code snippet is provided as it's not directly applicable to the given issue, but the commands to clear the plugin/cache state could be:

rm -r C:\Users\Administrator\AppData\Roaming\npm\node_modules\openclaw\dist\extensions\google
npm install -g openclaw

Notes

The provided information suggests that the issue might be related to the google plugin, but without the full trace or more details about the plugin's functionality, it's difficult to provide a definitive solution. The suggestions provided are based on the information given and are intended to help troubleshoot the issue.

Recommendation

  • Apply workaround: Temporarily disable the google plugin or clear the plugin/cache state, as this seems to be the most direct way to address the RangeError: Maximum call stack size exceeded issue without waiting for a potential fix in a future version of OpenClaw.

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…

FAQ

Expected behavior

  • openclaw devices approve --latest should run normally
  • openclaw devices list should run normally
  • a plugin load failure should not break basic device commands
  • if a plugin fails, OpenClaw should ideally report a short clear error instead of dumping a huge schema compilation trace

Still need to ship something?

×6

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

Back to top recommendations

TRENDING