broken modules using Deno 1.2.0
See original GitHub issuewith deno 1.2.0 update some packages will be broken due to changes in lib std.
I get an error with all other commands that are broken they will throw errors.
I tried to reinstall and cache reloading but couldn’t.
I get the following error
$ vr start
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@v0.56.0/path/win32.ts:917: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@v0.56.0/path/posix.ts:438:18
Found 2 errors.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Type errors when executing denon --version (deno 1.2.0) #74
The root of the issue is that by default denon and my project share a deno version, so updating one is updating the...
Read more >Handling dependencies with Deno | by Wael Fezai - codeburst
In all docs/tutorials importing any deno dependency (standard or third ... any breaking changes and we can safely updated the dependencies ...
Read more >Deno 1.20 Release Notes
Deno 1.20 increases performance, auto-compresses http responses, adds 'deno task', adds 'deno bench', allows import maps in deno.json, ...
Read more >Writing a React SSR app in Deno - DEV Community
Deno 1.2.0 brought about a breaking change for the std library so any module using std version before 0.61.0 may well error!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for reporting this!
beta.13
should fix this, can you confirm it works?Thank you very much.
With the fix, I confirmed to resolved issue.
Close 😃