Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Gemini CLI error

Gemini CLI: npm WARN deprecated node-domexception@1.0.0

Error message
npm WARN deprecated node-domexception@1.0.0

Status: By designLast verified 1 documented fix3 sources

What it means

A deprecation warning printed during npm install -g or npm update -g of Gemini CLI. The install still completes. A similar warning appears for old glob versions (npm WARN deprecated glob).

Causes

  • Some dependencies, or their sub-dependencies such as google-auth-library, rely on older package versions. Since Gemini CLI requires Node.js 20 or higher, native platform features such as the native DOMException are used, so the warnings are informational only (official troubleshooting guide).

How to fix it

  1. Fix 1.

    No action is required. The official troubleshooting guide says these warnings are harmless and can be safely ignored, and the install or update will work normally.

More Gemini CLI errors

All 19 Gemini CLI errors

FAQ

What does "npm WARN deprecated node-domexception@1.0.0" mean in Gemini CLI?

A deprecation warning printed during npm install -g or npm update -g of Gemini CLI. The install still completes. A similar warning appears for old glob versions (npm WARN deprecated glob).

How do I fix "npm WARN deprecated node-domexception@1.0.0"?

No action is required. The official troubleshooting guide says these warnings are harmless and can be safely ignored, and the install or update will work normally.

Is this Gemini CLI error fixed?

Status: By design. Expected behavior, not a bug. The documented fixes change the setup that triggers it.

Sources

Last verified against 3 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.