Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable to run netlify dev on my app #7556

@akimsoule

Description

@akimsoule

Describe the bug

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 https://ntl.fyi/cli-versions.

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

Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20)

System:
OS: macOS 15.5
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Binaries:
Node: 22.17.0 - /Volumes/DEV/node-v22.17.0-darwin-x64/bin/node
npm: 11.5.2 - /Volumes/DEV/node-v22.17.0-darwin-x64/bin/npm
Browsers:
Chrome: 139.0.7258.128
Safari: 18.5
npmGlobalPackages:
netlify-cli: 23.1.4

Steps to reproduce

netlify dev

Configuration

[build]
command = "npm install && npm run build && npx prisma migrate deploy && npx prisma generate"
publish = "dist"

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

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

Environment

System:
OS: macOS 15.5
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 183.41 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.17.0 - /Volumes/DEV/node-v22.17.0-darwin-x64/bin/node
npm: 11.5.2 - /Volumes/DEV/node-v22.17.0-darwin-x64/bin/npm
npmGlobalPackages:
netlify-cli: 23.1.4

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