ianmackenzie / ianmackenzie/elm-script
Deno errors when trying to install
- Dominant language
- Elm
- Stars
- 34
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
I am using linux (pop-os)
I installed deno with `curl -fsSL https://deno.land/install.sh | sh` without issues.
Trying to install the script using the command `deno install -A -n elm-script https://elm-script.github.io/latest` resulted in these errors:
```
Download https://elm-script.github.io/latest
Download https://deno.land/std@0.56.0/path/mod.ts
Download https://deno.land/std@0.56.0/path/_constants.ts
Download https://deno.land/std@0.56.0/path/_interface.ts
Download https://deno.land/std@0.56.0/path/common.ts
Download https://deno.land/std@0.56.0/path/glob.ts
Download https://deno.land/std@0.56.0/path/posix.ts
Download https://deno.land/std@0.56.0/path/separator.ts
Download https://deno.land/std@0.56.0/path/win32.ts
Download https://deno.land/std@0.56.0/testing/asserts.ts
Download https://deno.land/std@0.56.0/path/_globrex.ts
Download https://deno.land/std@0.56.0/path/_util.ts
Download https://deno.land/std@0.56.0/fmt/colors.ts
Download https://deno.land/std@0.56.0/testing/diff.ts
Check https://elm-script.github.io/latest
error: TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
Type 'URL' is not assignable to type 'string'.
return new URL(url).pathname;
~~~
at https://deno.land/std@0.56.0/path/posix.ts:438:18
TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
Type 'URL' is not assignable to type 'string'.
return new URL(url).pathname
~~~
at https://deno.land/std@0.56.0/path/win32.ts:917:18
Found 2 errors.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.