Denon installation failed in Deno v1.18.0

Solution 1:

Edit: This issue has been fixed in denon v2.5.0

Original answer:

This is a known bug in denon, an official fix will be released soon but in the meantime there is a patch which you can install to workaround the issue, see this comment on GitHub:

deno install -qAf --unstable https://raw.githubusercontent.com/nnmrts/denon/patch-4/denon.ts

You can also downgrade to a version released before the bug was introduced.