cli icon indicating copy to clipboard operation
cli copied to clipboard

Netlify CLI Edge Function Environment error

Open jehunter opened this issue 2 months ago • 1 comments

Describe the bug

Logs from my terminal: `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:///home/jordan/.volta/tools/image/packages/netlify-cli/lib/node_modules/netlify-cli/dist/utils/command-helpers.js:146:16) at logAndThrowError (file:///home/jordan/.volta/tools/image/packages/netlify-cli/lib/node_modules/netlify-cli/dist/utils/command-helpers.js:152:17) at prepareServer (file:///home/jordan/.volta/tools/image/packages/netlify-cli/lib/node_modules/netlify-cli/dist/lib/edge-functions/proxy.js:153:16) at async Promise.all (index 1) at async file:///home/jordan/.volta/tools/image/packages/netlify-cli/lib/node_modules/netlify-cli/dist/lib/edge-functions/proxy.js:74:41 at async onRequest (file:///home/jordan/.volta/tools/image/packages/netlify-cli/lib/node_modules/netlify-cli/dist/utils/proxy.js:610:35)

System: OS: Linux 6.6 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (4) x64 Intel(R) Core(TM) i5-8200Y CPU @ 1.30GHz Binaries: Node: 20.16.0 - ~/.volta/tools/image/node/20.16.0/bin/node Yarn: 4.0.1 - ~/.volta/tools/image/yarn/4.0.1/bin/yarn npm: 10.8.1 - ~/.volta/tools/image/node/20.16.0/bin/npm`

Steps to reproduce

  1. Install latest version of Netlify CLI on Chromebook (using standard development environment setup)
  2. In terminal, navigate to a netlify based project that uses functions and edge functions
  3. Run netlify dev to start the server.

Configuration

No response

Environment

System: OS: Linux 6.6 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (4) x64 Intel(R) Core(TM) i5-8200Y CPU @ 1.30GHz Memory: 10.28 GB / 14.17 GB Container: Yes Shell: 5.2.15 - /bin/bash Binaries: Node: 20.16.0 - /home/jordan/.volta/tools/image/node/20.16.0/bin/node Yarn: 4.0.1 - /home/jordan/.volta/tools/image/yarn/4.0.1/bin/yarn npm: 11.6.2 - /home/jordan/.volta/tools/image/npm/11.6.2/bin/npm

jehunter avatar Oct 11 '25 15:10 jehunter

Hi there! Thank you for sharing this bug report.

We've just released v23.9.3 which vastly improves the usefulness of this error message, notably by including potential steps for remediation.

Please try upgrading (npm install -g netlify-cli@latest) and let us know if that helps!

If you run into this again and aren't able to self-heal with the printed instructions, please reply with the full output (which will now be a detailed error message that will help us help you way better!). Thanks!

serhalp avatar Oct 22 '25 21:10 serhalp