royale-asjs
royale-asjs copied to clipboard
Compiling for prod generate error from debug-js
Compiling with royale serve:prod seem to first compile js-debug, and second to compile (and not only minifying ?) js-prod from js-debug.
While doing second one, i get a chunk of WARNING and ERROR on the js-debug, such as: com.google.javascript.jscomp.LoggerErrorManager println SEVERE: [...]/RoyalProyekt/tests/bin/js-debug/org/apache/royale/utils/Language.js:12: ERROR - required "goog.DEBUG" namespace never provided goog.require('goog.DEBUG');
com.google.javascript.jscomp.LoggerErrorManager println SEVERE: [...]/RoyalProyect/tests/bin/js-debug/io/nfg/wmg/battle/modes/StayAlive.js:12: ERROR - required "io.nfg.wmg.battle.BattleLogic" namespace not provided yet goog.require('io.nfg.wmg.battle.BattleLogic');
Do you still get these errors?
I have the same issue. 13 errors like these:
ERROR - required "openfl.display.Sprite" namespace never provided
goog.require('openfl.display.Sprite');
Debug build is fine, but prod fails. @Incubatio did you manage to fix this problem?