Error: Could not read downloaded binary, running netlify dev

I’d just updated the netlify cli:
netlify-cli/10.1.0 linux-x64 node-v16.15.0

When I ran netlify dev I got the following error …

⠼ Setting up the Edge Functions environment. This may take a couple of minutes.Error: Could not read downloaded binary
at DenoBridge.downloadBinary (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/edge-bundler/dist/bridge.js:33:19)
at async DenoBridge.getBinaryPath (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/edge-bundler/dist/bridge.js:116:32)
at async Module.serve (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/edge-bundler/dist/server/server.js:51:5)
at async prepareServer (/usr/local/lib/node_modules/netlify-cli/src/lib/edge-functions/proxy.js:125:22)
Error: Could not read downloaded binary
at DenoBridge.downloadBinary (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/edge-bundler/dist/bridge.js:33:19)
at async DenoBridge.getBinaryPath (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/edge-bundler/dist/bridge.js:116:32)
at async Module.serve (file:///usr/local/lib/node_modules/netlify-cli/node_modules/@netlify/edge-bundler/dist/server/server.js:51:5)
at async prepareServer (/usr/local/lib/node_modules/netlify-cli/src/lib/edge-functions/proxy.js:125:22)

/usr/local/lib/node_modules/netlify-cli/node_modules/netlify-redirector/lib/redirects.js:116
throw ex;
^
abort({}) at Error
at jsStackTrace (/usr/local/lib/node_modules/netlify-cli/node_modules/netlify-redirector/lib/redirects.js:1070:13)
at stackTrace (/usr/local/lib/node_modules/netlify-cli/node_modules/netlify-redirector/lib/redirects.js:1087:12)
at process.abort (/usr/local/lib/node_modules/netlify-cli/node_modules/netlify-redirector/lib/redirects.js:8502:44)
at process.emit (node:events:527:28)
at processEmit [as emit] (/usr/local/lib/node_modules/netlify-cli/node_modules/signal-exit/index.js:199:34)
at emit (node:internal/process/promises:140:20)
at processPromiseRejections (node:internal/process/promises:274:27)
at processTicksAndRejections (node:internal/process/task_queues:97:32)
(Use node --trace-uncaught ... to show where the exception was thrown)

I’ve reverted to 9.16.7 to keep going but wanted to report.
Thanks.

Hey @perkins.graeme,

This issue would have a better place on the CLI repo: Issues · netlify/cli · GitHub, where the developers would notice it.

Ok no problem, I’ll try again with the next version and if it happens again post on GitHub.

1 Like