I pushed changes to update the config.xml files. It seemed to work for me. Try beta10 if you want to test it.
npm install @apache-royale/royale-js-swf@0.9.6-beta10 -g Thanks, -Alex On 9/12/19, 10:56 AM, "Alex Harui" <aha...@adobe.com.INVALID> wrote: I guess that’s expected. I didn’t realize I had a PLAYERGLOBAL_HOME environment variable that was overriding. The post install script would have to go replace the target-player in every -config.xml file (like royale-config.xml). If you add -target-player=25.0, that will get you past it. Another option is to have the install download 11.1 instead of 25.0. Thoughts? -Alex On 9/12/19, 10:30 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote: Hi Alex, I uninstall then install again. Commented all my paths (royale, flash player, AIR,...) in my .bash_profile. Then open a new terminal window. Results: macbookpro:~ carlosrovira$ mxmlc Using Royale Compiler codebase: /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/../.. Using Royale SDK: /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/../.. MXMLJSC +royalelib=/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/../../frameworks -sdk-js-lib=/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/js/bin/../../frameworks/js/Royale/generated-sources /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml(74): col: 0 Error: unable to open '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/libs/player/11.1/playerglobal.swc'. /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml (line: 74) </external-library-path> /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml(129): col: 0 Error: unable to open '/usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/libs/player/11.1'. /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml (line: 129) </library-path> 0.68472554 seconds macbookpro:~ carlosrovira$ Hope results are the expected ones :) Best Carlos El jue., 12 sept. 2019 a las 18:46, Alex Harui (<aha...@adobe.com.invalid>) escribió: > Thanks for catching the places where FlexJS was still being used. > > Your output indicates that there is a ROYALE_HOME environment variable so > it appears to be using your dev versions since I don't think NPM would > store its stuff in /Users/carlosrovira/Dev. Anyway, good to know that the > environment variable can re-direct what the npm scripts do. If you want to > try without an environment variable that would be a better test of what new > users would experience and the output should reference the npm node_modules > folder. > > Thanks, > -Alex > > On 9/12/19, 1:53 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote: > > Hi, > > think al went fine :) > > this is my output: > > > + @apache-royale/royale-js-swf@0.9.6-beta9 > > added 146 packages from 108 contributors in 426.831s > > > > > then I tried "mxmlc" just from command line: > > > macbookpro:~ carlosrovira$ mxmlc > > Using Royale Compiler codebase: > /Users/carlosrovira/Dev/Royale/Source/royale-compiler > > Using Royale SDK: /Users/carlosrovira/Dev/Royale/Source/royale-asjs > > MXMLJSC > > +royalelib=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks > > > -sdk-js-lib=/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/js/Royale/generated-sources > > Loading configuration: > > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/royale-config.xml > > > Error: a target file must be specified. > > > > > Error: a target file must be specified. > > > > > 0.888219402 seconds > > macbookpro:~ carlosrovira$ > > > > > -- > Carlos Rovira > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C1c4ad6d04e534ee4bbc908d737aa8c2c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637039078002016836&sdata=aa8EapVqmDC2iu7nmWBh20akTley4HB5QhCUK5U%2B1IE%3D&reserved=0 > > > -- Carlos Rovira https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C1c4ad6d04e534ee4bbc908d737aa8c2c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637039078002026826&sdata=LpDM5%2BmgtTtSoRgRYPSk7kgh8KrcBQTrn6ZZte7YQYU%3D&reserved=0