krasimir/hopa

Error quickly flashes before each run if no tsconfig found

AliAlmohsen opened this issue · 9 comments

I'm using hopa for js, not ts, so I don't have a tsconfig file. On each save, I see the following error for like half a second before it starts running my file:
Screenshot from 2020-02-25 12-47-35

Same issue here, also for js files.

The error is briefly displayed before the run.

Then the error is flashed 1 second after and stays below my script output.

Hey, can you paste the content of your file here. Also node version and OS will be helpful.

node v12.16.3
Linux Mint 19.3 Tricia

The error disappears if you create a tsconfig, which isn't needed if you're just using hopa for JS.

Interesting, tsconfig.js in the folder where you run hopa?

If I have a tsconfig in the folder, the error doesn't appear. If I don't have one, I see the error.

Awesome. That's enough. I'll debug.

@AliRain @qchenevier it should be fixed now. Can you please try the latest version npm i hopa@latest.

fix

It works for me. You rock !

@AliRain I hope it works for you too. If not please comment below. Closing for now.