Hi Alex, Yesterday I forgot to email this. I installed NPM beta10 version. this is my 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* *Loading configuration: /usr/local/lib/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml* *Error: a target file must be specified.* *Error: a target file must be specified.* *0.861876863 seconds* *macbookpro:~ carlosrovira$ * Let me know if that's what you expect. Best, Carlos El jue., 12 sept. 2019 a las 19:56, Alex Harui (<aha...@adobe.com.invalid>) escribió: > 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%7C16ffc0d4285b4f46bd7408d737a6ddaa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637039062136780076&sdata=2e1MR6QkJDdOXyF7ybO0dlNjVLjd51TfjmZQYiIk9EY%3D&reserved=0 > > > > > > > > -- > Carlos Rovira > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C16ffc0d4285b4f46bd7408d737a6ddaa%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637039062136790069&sdata=xUTrtQVQwlHqPbkS7qqRQ68ocgf9BAGi971HLwN0AdE%3D&reserved=0 > > > -- Carlos Rovira http://about.me/carlosrovira