Hi
Using version .2417 I cannot run wasm projects. There are two problems here :
-
Your wasm samples don’t compile (Delphi classes not found?)
-
I removed Delphi related code from Basic_WebAssembly_GUI_Controls_App sample and run it. The runtime error is :
Exception of type TypeError on thread 0001
Message: TypeError: Cannot read property ‘apply’ of null
at imp.env.__island_invoke (http://127.0.0.1:49587/wasm/RemObjectsElements.js:443:38)
at ms_te__1sWebAssemblyc_InvokeMethodnp_vna_o (wasm-function[2348]:216)
at mi_td__1sMethodInfo6_Invokenona_o (wasm-function[2370]:1569)
at mi_tnte__1sWebAssembly18__l__g_c____DisplayClass117__l_GetProxyFor_g_b____2nt13__1sEcmaScriptObject (wasm-function[2282]:748)
at mi_t16__1sWebAssemblyDelegate6_Invokent13__1sEcmaScriptObject (wasm-function[2173]:31)
at __island_call_delegate (wasm-function[3054]:31)
at Object.res [as HelloWorld] (http://127.0.0.1:49587/wasm/RemObjectsElements.js:246:62)
at http://127.0.0.1:49587/index.html:14:12
The same errors I get in my wasm projects. I tested Island for Windows console project and it works fine.
Artur