Open
Description
Describe the bug
netlify dev
runs fine unti v17.38.0 of netlify-cli. If I use v17.38.1 or above, then I'm getting this error:
› Error: There was a problem setting up the Edge Functions environment. To try a manual installation, visit https://ntl.fyi/install-deno.
Full start:
> netlify dev
◈ Netlify Dev ◈
◈ Injecting environment variable values for all scopes
◈ Ignored general context env var: LANG (defined in process)
◈ Ignored general context env var: LANGUAGE (defined in process)
◈ Ignored general context env var: LC_ALL (defined in process)
◈ Setting up local development server
◈ Starting Netlify Dev with Astro
15:19:11 [types] Generated 1ms
15:19:11 [content] Syncing content
15:19:11 [content] Synced content
15:19:11 [vite] Re-optimizing dependencies because lockfile has changed
astro v5.3.0 ready in 569 ms
┃ Local http://localhost:4321/
┃ Network use --host to expose
15:19:11 watching for file changes...
✔ Waiting for framework port 4321. This can be configured using the 'targetPort' property in the netlify.toml
┌─────────────────────────────────────────────────┐
│ │
│ ◈ Server now ready on http://localhost:8888 │
│ │
└─────────────────────────────────────────────────┘
⠙ Setting up the Edge Functions environment. This may take a couple of minutes.◈ Loaded function getTranslations
◈ Loaded function calculateAllowance
⠹ Setting up the Edge Functions environment. This may take a couple of minutes.◈ Loaded function calculateDate
◈ Loaded function calculateInterim
✖ Setting up the Edge Functions environment. This may take a couple of minutes.
› Error: There was a problem setting up the Edge Functions environment. To try a manual installation, visit https://ntl.fyi/install-deno.
Deno seems to be present:
$ deno --version
deno 2.2.0 (stable, release, x86_64-unknown-linux-gnu)
v8 13.4.114.9-rusty
typescript 5.7.3
I'm using node v20.18.3
Steps to reproduce
- Use netlify-cli 18.38.1 or above
- Run
netlify dev
- Get the error message
Configuration
[dev]
autoLaunch = false
[build]
command = "astro build"
functions = "netlify/functions"
publish = "dist"
[functions]
node_bundler = "esbuild"
[[redirects]]
# Serve Plausible as a first-party script
from = "/js/ascript.js"
to = "https://plausible.io/js/script.js"
status = 200
[[redirects]]
# Also proxy Plausible events
from = "/api/event"
to = "https://plausible.io/api/event"
status = 200
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
[[plugins]]
package = "netlify-plugin-minify-html"
[[plugins]]
package = "netlify-plugin-image-optim"
Environment
sh: 1: envinfo: not found