Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html5/JSPrime target not working #22

Open
hoseyjoe opened this issue Sep 17, 2024 · 0 comments
Open

Html5/JSPrime target not working #22

hoseyjoe opened this issue Sep 17, 2024 · 0 comments
Assignees

Comments

@hoseyjoe
Copy link
Contributor

hoseyjoe commented Sep 17, 2024

this is a haxeui-core create nme project
HaxeuiTest.zip

Compile with "nme build html5" then run resulting html page and you get the below. I have no idea. Windows and Android targets are working

../../src/nme/Lib.hx:102: Error creating window: ({
	width : 800, 
	height : 600, 
	flags : 2060, 
	title : Main, 
	color : 16777215, 
	icon : null
})
TypeError: nme.utils.WeakRef.nme_weak_ref_create is not a function
Called from module nme.utils.WeakRef@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 547 > injectedScript:21257:36
Called from module nme.events.Listener@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 547 > injectedScript:14268:18
Called from module addEventListener@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 547 > injectedScript:9812:15
Called from module addEventListener@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 547 > injectedScript:12816:65
Called from module mapEvent@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:7432:39
Called from module registerEvent@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:15053:10
Called from module haxe.ui.core.Screen@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:14878:7
Called from module haxe.ui.core.Screen.get_instance@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:14887:35
Called from module start@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:6479:23
Called from module registerInputSource@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:6402:10
Called from module haxe.ui.Toolkit.build@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:5842:47
Called from module haxe.ui.HaxeUIApp@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:4977:18
Called from module Main.main@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:102:12
Called from module ApplicationMain.createInstance@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:58:7
Called from module [ApplicationMain.main/](chrome://devtools/content/webconsole/ApplicationMain.main/)<@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 556 > injectedScript:74:19
Called from module nme.Lib.create/<@http://127.0.0.1:5500/build/nme/jsprime/Main/ line 547 > injectedScript:8570:4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants