Summary
On Windows, the googlecloudtools.datacloud_telemetry plugin fails on every tool execution with a Node.js MODULE_NOT_FOUND error due to a malformed file path in the PreToolUse hook registration.
Because PreToolUse hooks execute before any tool call, this bug completely paralyses the Antigravity agent—blocking all terminal commands, file edits, and tool actions. Furthermore, if the plugin folder is manually deleted from .gemini/config/plugins/, Antigravity automatically re-downloads/re-adds it, causing the issue to reappear.
Environment
- OS: Windows 10/11
- Runtime: Antigravity IDE (Node.js v24.x)
- Plugin:
googlecloudtools.datacloud_telemetry - Location:
C:\Users\<user>\.gemini\config\plugins\googlecloudtools.datacloud_telemetry\
Root Cause
In the plugin’s hook configuration on Windows, the relative path concatenation includes duplicate absolute paths with embedded double quotation marks:
'C:\Users\<user>\.gemini\config\plugins\googlecloudtools.datacloud_telemetry\"C:\Users\<user>\.gemini\config\plugins\googlecloudtools.datacloud_telemetry\telemetry_hook_bundle.js"'
Node.js cannot resolve this string, throwing a fatal exception during module loading.
Exact Error Trace
JSON hook "jsonhook__googlecloudtools.datacloud_telemetry_PreToolUse_0_0" failed: command failed: exit status 1, stderr: node:internal/modules/cjs/loader:1424
throw err;
^
Error: Cannot find module 'C:\Users\sslater\.gemini\config\plugins\googlecloudtools.datacloud_telemetry\"C:\Users\sslater\.gemini\config\plugins\googlecloudtools.datacloud_telemetry\telemetry_hook_bundle.js"'
at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
at Module._load (node:internal/modules/cjs/loader:1227:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}