denosaurs/denon

Deno installation error

devmnj opened this issue · 11 comments

C:\Users\manoj>deno install --unstable --allow-net https://deno.land/x/denon/denon.ts
Check https://deno.land/x/denon/denon.ts
error: TS2339 [ERROR]: Property 'url' does not exist on type 'NetPermissionDescriptor'.
return pd.url
~~~
at https://deno.land/std@0.83.0/permissions/mod.ts:17:25

TS2339 [ERROR]: Property 'url' does not exist on type 'NetPermissionDescriptor'.
? --allow-${pd.name}=${pd.url}
~~~
at https://deno.land/std@0.83.0/permissions/mod.ts:18:44

Found 2 errors.

I got this error, while running and installing the denon

I got same error on Ubuntu. This happening after I update my Deno to 1.7

Screenshot from 2021-01-25 12-01-55

This is the same issue as in #122

How did you guys fix it? I am having same issue right now. Thanks

Same problem here.

me too. please check.

Since deno.land does not have the fix yet you can install denon from github with
deno install -qAf --unstable https://raw.githubusercontent.com/denosaurs/denon/main/denon.ts

Thanks @luxwarp That worked for me perfectly

Can anyone explain why we are having this issue?

Can anyone explain why we are having this issue?

Incompatible dependencies with the version of deno you are running as the deno core internals are changing and certain features denon uses are unstable, meaning their api is likely to change.

try uninstall and reinstall again