Hi, Try a nightly build of Royale. I think some things have been fixed in the calculation of dependencies. I think if you are using npm, you can uninstall royale and then:
npm install http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/out/apache-royale-0.9.6-bin-js.tar.gz No guarantees that will fix your issue, but at least we can eliminate some possibilities. HTH, -Alex From: mrchnk <mrc...@gmail.com> Reply-To: "users@royale.apache.org" <users@royale.apache.org> Date: Thursday, December 13, 2018 at 10:34 AM To: "users@royale.apache.org" <users@royale.apache.org> Subject: Linkage problem for asjs compiler Greetings! I tried to compile a large project using npm distribution of Apache Royale asjs compiler (@apache-royale/royale-js@0.9.4). I changed all flash.* classes to openfl.*. After several hotfixes that project starts to compile. Here is index.html generated: https://gist.github.com/mrchnk/4f468d1abb1b02466a0dad43265c4333<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2Fmrchnk%2F4f468d1abb1b02466a0dad43265c4333&data=02%7C01%7Caharui%40adobe.com%7C56dc020b2ba5408972c308d6612991b8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803228506415934&sdata=bzwAUhUCNRkMJTUUqlQAOqOTrh6G0sYrNPndQL2DbfQ%3D&reserved=0> The page is loaded with javascript errors: Uncaught Error: Undefined nameToPath for Client at visitNode (base.js:1356) at visitNode (base.js:1354) at Object.goog.writeScripts_ (base.js:1368) at Object.goog.require (base.js:705) at (index):1681 (index):1687 Uncaught ReferenceError: OasisHTML5Launcher is not defined at (index):1687 So Client.as is the superclass of OasisClient.as and is used in main OasisHTML5Launcher. It is successfully compiled to Client.js and declared as a dependency at index.html But a link to js file and declaration for that class is missing (I mean "goog.addDependency('../../../Client.as' ... )") So how to deal with that? Is it a Royale bug? Are there some guidelines I missed about my code? Thanks in advance. PS: I'm kinda new to mailing lists. So don't hesitate to correct me if I do something wrong.