Yes, that's why you are seeing these errors. royale-config.xml was not supposed to reference SWF SWCs like frameworks/libs/Basic.swc in the JS-only SDK.
-- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Sun, Feb 2, 2020 at 10:04 PM OmPrakash Muppirala <[email protected]> wrote: > On Sun, Feb 2, 2020 at 5:21 PM Josh Tynjala <[email protected]> > wrote: > > > royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I > > recall, we've already fixed the build scripts in the repo, but we haven't > > done a new release yet. > > > > Broken as in - is that why I am seeing these errors? > Does it make sense to push out a new release with those changes? > > Thanks, > Om > > > > > > -- > > Josh Tynjala > > Bowler Hat LLC <https://bowlerhat.dev> > > > > > > On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala < > [email protected]> > > wrote: > > > > > The latest npm installation shows all the framework swcs here: > > > > > > > > > > > > /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs > > > > > > But as > > > per > > > > > > /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml > > > > > > it should be here: > > > > > > > > > /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs > > > > > > That is if I understand this line correctly: > > > > > > <path-element>libs/Basic.swc</path-element> > > > > > > I am seeing these errors when trying to compile: > > > > > > MacBook-Pro-8:first om$ royale serve:debug > > > Compiling... > > > > > > > > > /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129): > > > col: 0 Error: unable to open > > > > > > > > > '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'. > > > > > > > > > /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml > > > (line: 129) > > > > > > FYI, this is the command I am using to compile: > > > > https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95 > > > > > > > > > Also, this is how my directories look: > > > > > > MacBook-Pro-8:libs om$ ls > > > > > > > > > /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs > > > > > > KeepsFBFromHanging.swc air player > > > > > > > > > > > > MacBook-Pro-8:libs om$ ls > > > > > > > > > /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs > > > > > > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc > > > > > > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc > > > > > > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc > > > > > > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc > > > > > > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc > > > > > > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc > > > > > > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc > > > > > > CruxJS.swc HTML5JS.swc ReflectionJS.swc > > > > > > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc > > > > > > > > > Any idea where this mismatch is coming from? > > > > > > Thanks > > > Om > > > > > >
