jurassiscripts / velociraptor

The npm-style script runner for Deno

Home Page:https://velociraptor.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deno 1.1.2 breaks velocipraptor

newtack opened this issue · comments

vr --help
sh: 0: getcwd() failed: No such file or directory
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', cli/worker.rs:141:16

Hi @newtack, thanks for reporting this.

What os are you on? Also, are you using .ts config files?

Ubuntu 18.0.4, not using tsconfig.

I mean velociraptor's .ts config files

Got it. I haven't made any changes to them.

This is probably related to denoland/deno#6057.
What happens if you delete the cached version of your scripts.ts config file? (run deno info scripts.ts and delete the compiled file).

That fixed it. Thanks!