Skip to content

Netlify CLI v23 errors out when setting up Edge Functions #7700

@leereamsnyder

Description

@leereamsnyder

Describe the bug

When I do netlify dev or netlify build, they fail on the Edge Functions setup

Here's the error output

Error: There was a problem setting up the Edge Functions environment. To try a manual installation, visit https://ntl.fyi/install-deno.
    at toError (file:///opt/homebrew/lib/node_modules/netlify-cli/dist/utils/command-helpers.js:146:16)
    at logAndThrowError (file:///opt/homebrew/lib/node_modules/netlify-cli/dist/utils/command-helpers.js:152:17)
    at prepareServer (file:///opt/homebrew/lib/node_modules/netlify-cli/dist/lib/edge-functions/proxy.js:153:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

  System:
    OS: macOS 15.6.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 22.13.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.2 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 140.0.7339.214
    Safari: 18.6
  npmGlobalPackages:
    netlify-cli: 23.9.1

I have installed Deno manually as suggested in the error message and that makes no difference

Steps to reproduce

Run netlify dev or netlify build with Edge functions

Configuration

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

[build.environment]
  TZ = "America/New_York"
  TERM = "xterm"

[dev]
  framework = "#static"
  autoLaunch = false

[[plugins]]
  package = "netlify-plugin-checklinks"
    [plugins.inputs]
    skipPatterns = [
      '/auto-optimized-image', 
      '/resized-n-optimized-image', 
      '/index.html'
    ]

[[plugins]]
  package = "@netlify/plugin-lighthouse"

[[plugins]]
  package = "netlify-plugin-playwright-cache"

Environment

  System:
    OS: macOS 15.6.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 132.25 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.13.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.9.2 - /opt/homebrew/bin/npm
  npmGlobalPackages:
    netlify-cli: 23.9.1

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