HeapsIO / domkit

CSS Components based strictly typed UI framework for Haxe
MIT License
84 stars 20 forks source link

h2d.domkit.FlowComp does not define component flow #14

Closed mikestonecodes closed 4 years ago

mikestonecodes commented 4 years ago

Whenever I make an error in the code, I get

/home/mike/haxelib/domkit/git/domkit/Macros.hx:402: characters 3-8 : Uncaught exception UIKitError(h2d.domkit.FlowComp does not define component flow) 0
/home/mike/haxelib/domkit/git/domkit/Macros.hx:87: characters 4-78 : Called from here
/home/mike/haxelib/domkit/git/domkit/MetaComponent.hx:48: characters 38-69 : Called from here
/home/mike/haxelib/domkit/git/domkit/Macros.hx:371: characters 13-62 : Called from here
/home/mike/haxelib/heaps/1,7,0/h2d/domkit/InitComponents.hx:18: characters 10-37 : Called from here
ui/Main.hx:64: character 1 : Called from here
The terminal process terminated with exit code: 1

I have to restart the language sever and I can't see the actual bug in the code. Not a huge deal but a bit annoying.

ncannasse commented 4 years ago

Which Haxe version are you using ? we might need a minimal reproducing sample.

mikestonecodes commented 4 years ago

I was able to isolate the bug, it was compiling to an unsupported build target. sorry for the confusion. Thank you for being willing to help out , enjoying using domkit and heaps :)