jurassiscripts / velociraptor

The npm-style script runner for Deno

Home Page:https://velociraptor.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broken modules using Deno 1.2.0

yoshixmk opened this issue · comments

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.

Getting the same error

denosaurs/denon#74 <- same issue in denon, seems like std version needs to be bumped to 0.61.0 here or in some dependency

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 :)

beta.13

explain

installation