Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continously giving error for 2 hours #6770

Open
ha-communitypk opened this issue Jul 30, 2024 · 0 comments
Open

Continously giving error for 2 hours #6770

ha-communitypk opened this issue Jul 30, 2024 · 0 comments
Labels
type: bug code to address defects in shipped code

Comments

@ha-communitypk
Copy link

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

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

TypeError: Cannot read properties of undefined (reading 'map')
at getNormalizedError (file:///C:/Users/hp/AppData/Roaming/npm/node_modules/netlify-cli/dist/lib/functions/synchronous.js:87:41)
at handleSynchronousFunction (file:///C:/Users/hp/AppData/Roaming/npm/node_modules/netlify-cli/dist/lib/functions/synchronous.js:33:23)
at handler (file:///C:/Users/hp/AppData/Roaming/npm/node_modules/netlify-cli/dist/lib/functions/server.js:203:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

System:
OS: Windows 11 10.0.22635
CPU: (8) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
Binaries:
Node: 20.15.1 - C:\Program Files\nodejs\node.EXE
npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (127.0.2651.8)

Steps to reproduce

on git bash run "netlify dev"
first the server connected for a while then terminated immediately

Configuration

[build]
functions = "netlify/functions"
publish = "public"

[[redirects]]
from = "/*"
to = "/.netlify/functions/app"
status = 200

Environment

$ npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli
Need to install the following packages:
[email protected]
Ok to proceed? (y)

System:
OS: Windows 11 10.0.22635
CPU: (8) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
Memory: 1.60 GB / 7.85 GB
Binaries:
Node: 20.15.1 - C:\Program Files\nodejs\node.EXE
npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD

@ha-communitypk ha-communitypk added the type: bug code to address defects in shipped code label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant