Skip to content

Error: Netlify CLI has terminated unexpectedly #7480

@Arnold85

Description

@Arnold85

Describe the bug

⠙ Setting up the Edge Functions environment. This may take a couple of minutes.⬥ Loaded function chat
⬥ Loaded function chat-stream
⬥ Loaded function shared
⠹ Setting up the Edge Functions environment. This may take a couple of minutes. » 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.

⠦ Setting up the Edge Functions environment. This may take a couple of minutes.Error: EPERM: operation not permitted, open 'C:\Users\Admin\AppData\Roaming\netlify\Config\deno-cli\deno-cli-latest.zip'

System:
OS: Windows 11 10.0.22631
CPU: (32) x64 AMD Ryzen 9 7950X3D 16-Core Processor
Binaries:
Node: 20.19.4 - D:\Workspace\Website\HPphysio Astro Tailwind\node_modules.bin\node.CMD
npm: 10.9.2 - ~\AppData\Local\fnm_multishells\116092_1753562931156\npm.CMD
Browsers:
Edge: Chromium (138.0.3351.83)

Steps to reproduce

npx netlify dev

Configuration

[build]
command = "npm run build"
publish = "dist"

[dev]
command = "npm run dev"
targetPort = 4321
publish = "dist"
autoLaunch = false

[functions]
directory = "netlify/functions"
node_bundler = "esbuild"

Redirect for SPA routing

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

Function timeout and memory settings

[functions.chat]
timeout = 30
memory = 256

Environment

OS: Windows 11 10.0.22631
Node: 20.19.4
npm: 10.9.2
@astrojs/netlify: 6.3.4
Astro version: 5.11.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