question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

broken modules using Deno 1.2.0

See original GitHub issue

with 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:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
umbopepatocommented, Jul 15, 2020

Thanks for reporting this!

beta.13 should fix this, can you confirm it works?

1reaction
yoshixmkcommented, Jul 15, 2020

Thank you very much.
With the fix, I confirmed to resolved issue.
Close 😃

Read more comments on GitHub >

github_iconTop 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 >
denoify | Yarn - Package Manager
Fast, reliable, and secure dependency management.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found