Skip to content

Error: Netlify CLI has terminated unexpectedly (latest versions since 22.2.0) #7539

@bleeckerj

Description

@bleeckerj

Describe the bug

Non-stop error repeating very quickly and forever. This has occurred since version 22.2.0.

"Error: Netlify CLI has terminated unexpectedly.
This is a problem with the Netlify CLI, not with your application.
If you recently updated the CLI, consider reverting to an older version by running:

npm install -g netlify-cli@VERSION

This repeats forever until I kill VS Code.

Image

Steps to reproduce

Update Netlify via

npm i -g netlify-cli

Configuration

netlify.toml

[[headers]]
for = "/"
[headers.values]
Access-Control-Allow-Origin = "
"
[[plugins]]
package = "@netlify/plugin-emails"
[[redirects]]
from = "/projects/ghostwriter"
to = "/projects/2025/artificial-intelligence-designed-fictions-research-studio/ghostwriter/"
status = 301
[[redirects]]
from = "/projects/2025/ai-designed-fictions-research-studio/vibewriter-web-edition"
to = "/projects/2025/artificial-intelligence-designed-fictions-research-studio/vibewriter-web-edition/"
status = 301
[functions]
external_node_modules = ["@sendgrid/mail"]
[dev]
framework = "astro"

Environment

$ npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobePackages netlify-cli

System:
OS: macOS 15.6
CPU: (8) arm64 Apple M2
Memory: 94.11 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.13.0 - ~/.nvm/versions/node/v22.13.0/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 11.3.0 - ~/.nvm/versions/node/v22.13.0/bin/npm
pnpm: 9.8.0 - /usr/local/bin/pnpm
bun: 1.2.2 - ~/.nvm/versions/node/v22.13.0/bin/bun
npmPackages:
netlify-cli: ^22.3.0 => 22.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions