GoogDepsWriter tries to cache dependency information in the individual JS files in the js-debug folder. So if what is being cached isn't quite right, then it could cause problems on the next build.
What does ArrayList.js look like after it compiles on a clean build? -Alex On 10/22/18, 1:30 AM, "Harbs" <[email protected]> wrote: Recently I started getting this error when compiling my app: Oct 22, 2018 11:25:06 AM com.google.javascript.jscomp.LoggerErrorManager println SEVERE: /Users/harbs/Documents/git/PrintUI/printui-flexjs/PortedPrintUI/bin/js-debug/org/apache/royale/collections/ArrayList.js:14: ERROR - required "org.apache.royale.events.CollectionEvent" namespace not provided yet goog.require('org.apache.royale.events.CollectionEvent'); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 22, 2018 11:25:06 AM com.google.javascript.jscomp.LoggerErrorManager printSummary WARNING: 1 error(s), 58 warning(s) The odd thing is that it only happens if I don’t clean my project before building. If I clean my project first, it compiles correctly (yeah, there’s a lot of warnings, but they are non-critical): Oct 22, 2018 11:26:32 AM com.google.javascript.jscomp.LoggerErrorManager printSummary WARNING: 0 error(s), 81 warning(s) The project 'PortedPrintUI' has been successfully compiled and optimized. 38.822735267 seconds Any ideas on what could be causing this?
