On Sun, Feb 2, 2020 at 12:45 PM Harbs <[email protected]> wrote: > Probably this: > var command = 'mxmlc ' + path.join(process.cwd(), > SOURCE_DIR_NAME , APP_START_FILE_NAME) + ' -debug=true -targets=JSRoyale'; >
That does not seem to work. I am getting the same exact errors as before. > > > On Feb 2, 2020, at 10:44 PM, Harbs <[email protected]> wrote: > > > > Set targets to JSRoyale > > > > In asconfig: > > "targets": ["JSRoyale”], > > > > In ant: > > <arg line="-targets=JSRoyale" /> > > > > Not sure where to stick that in in your node script. > > > >> On Feb 2, 2020, at 9:25 PM, OmPrakash Muppirala <[email protected]> > wrote: > >> > >> Yes, that is expected. I did npm install @apache-royale/royale-js -g > which > >> should get only the js stuff. > >> > >> Is there a way to specify to the mxmlc compiler to just consider the jas > >> swcs? > >> > >> On Sun, Feb 2, 2020 at 10:59 AM Harbs <[email protected]> wrote: > >> > >>> It sounds like you only have the JS swcs and not the swf ones. > >>> > >>> Does that make sense? > >>> > >>>> On Feb 2, 2020, at 8:34 PM, 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 > >>> > >>> > > > >
