netlify/cli

V17.23.1 Netlify CLI has terminated unexpectedly

Opened this issue · 0 comments

Describe the bug

» 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

You can use any version from versions.

Please report this problem at https://ntl.fyi/cli-error including the error details below.

Steps to reproduce

  1. Install the latest version (17.23.1)
  2. Setup the project with node express
  3. Run netlify dev

Configuration

[build]
    command = "npm install"
    functions = "/"

[functions]
    external_node_modules = ["express", "ejs", "ejs-locals"]
    directory = "/"
    node_bundler = "esbuild"

[[redirects]]
    force = true
    from = "/*"
    status = 200
    to = "/.netlify/functions/app/:splat"

Environment

System:
OS: Windows 11 10.0.22635
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Memory: 2.68 GB / 7.96 GB
Binaries:
Node: 18.19.1 - C:\Program Files\nodejs\node.EXE
npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD