cli
cli copied to clipboard
netlify-cli error when running "netlify dev"
Describe the bug
** By the way, I have already installed deno globally with npm install -g deno
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:///C:/Users/cpena/AppData/Roaming/npm/node_modules/netlify-cli/dist/utils/command-helpers.js:149:16) at logAndThrowError (file:///C:/Users/cpena/AppData/Roaming/npm/node_modules/netlify-cli/dist/utils/command-helpers.js:155:17) at prepareServer (file:///C:/Users/cpena/AppData/Roaming/npm/node_modules/netlify-cli/dist/lib/edge-functions/proxy.js:148:16) at async Promise.all (index 1) at async file:///C:/Users/cpena/AppData/Roaming/npm/node_modules/netlify-cli/dist/lib/edge-functions/proxy.js:73:41 at async onRequest (file:///C:/Users/cpena/AppData/Roaming/npm/node_modules/netlify-cli/dist/utils/proxy.js:610:35)
System: OS: Windows 11 10.0.22631 CPU: (14) x64 Intel(R) Core(TM) Ultra 7 165U Binaries: Node: 22.14.0 - ~\tools\njs\node.EXE Yarn: 1.22.22 - c:\users\cpena\tools\njsconfig\npm\yarn.CMD npm: 10.9.2 - ~\tools\njs\npm.CMD Browsers: Edge: Chromium (135.0.3179.85)
Steps to reproduce
sorry the repo is not public or my own, but from work.
Configuration
[[headers]] for = "/" [headers.values] Referrer-Policy = "strict-origin-when-cross-origin" X-XSS-Protection = "1; mode=block" X-Content-Type-Options = "nosniff" X-Frame-Options = "DENY" Content-Security-Policy-Report-Only = "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' maps.googleapis.com www.google-analytics.com www.googletagmanager.com platform.twitter.com connect.facebook.net; style-src 'self' 'unsafe-inline' use.typekit.net p.typekit.net; font-src 'self' data: use.typekit.net; img-src 'self' data: maps.gstatic.com www.google-analytics.com www.facebook.com; connect-src 'self' localhost: ws://localhost:*/ www.google-analytics.com maps.googleapis.com; base-uri 'self'; form-action 'none'; object-src 'none'; frame-src platform.twitter.com; frame-ancestors 'none';"
[[edge_functions]] function = "auth" path = "/*"
[[edge_functions]] function = "geo-redirect" path = "/redir"
switch back to "/"
[[edge_functions]] function = "geo" path = "/geo"
Environment
System: OS: Windows 11 10.0.22631 CPU: (14) x64 Intel(R) Core(TM) Ultra 7 165U Memory: 15.02 GB / 31.46 GB Binaries: Node: 22.14.0 - ~\tools\njs\node.EXE Yarn: 1.22.22 - c:\users\cpena\tools\njsconfig\npm\yarn.CMD npm: 10.9.2 - ~\tools\njs\npm.CMD
Hi @croton. Can you please share the output of deno --version on that machine from that directory? Thanks
As this issue lacks reproduction details, I'm going to close it out. Please feel free to reply or open a new issue if you're able to provide more details.
I believe this is a duplicate of #7044 in any case.
If you need additional support, please check out our support page: https://www.netlify.com/support/. Thank you!