The PreLaunchTask 'Kha: build for Krum' terminated with exit code 2

Hello!
So Ive been trying to learn Haxe but every time I go to run a script it get a window that pops up and says “The PreLaunchTask ‘Kha: build for Krum’ terminated with exit code 2” but there are no errors in the console.
Any idea how to fix this?
Thanks.

Yeah me too. This happens everytime!

1 Like

I’ve never heard of that before. Regular Kha program or some Armory thing?

Just the Regular Kha program

What happens when you build for HTML5 instead and what happens when you build for either from the command line?