Stage.xh lime app module missing

Hi !
I have a problem building a very simple (like HelloWorld) project with OpenFL.
It works good on Flash build but not on HTML5 or mac build

Setup
MAC Yosemite, Sublime Text, Open FL (3.0.3) & Lime (2.4.3) latest version. done openfl setup.

Error displayed
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onTextEdit needed by lime.app.IModule is missing
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onTextInput needed by lime.app.IModule is missing
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onWindowEnter needed by lime.app.IModule is missing
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onWindowLeave needed by lime.app.IModule is missing

My very simple class if you need it
package;
import haxe.web.Dispatch;
import haxe.xml.Parser;
import haxe.Http;
import haxe.xml.Fast;
import openfl.Assets;
class Main
{
public function new ()
{

}

}

Thanks for your help, I’m new to OpenFL, sorry if this is some basic question !
Tavrox.

Try using the latest of both OpenFL and Lime :slight_smile:

Wow, looks like I’m really stupid and didn’t try to make “haxelib install openfl” to get latest version… I wished the error was a little more explicit but definitely thanks, it’s solved :wink:

You can also use openfl upgrade when it’s already installed to update :slight_smile: