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 (<[email protected]>)
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" <[email protected]> wrote:
>
> Hi,
>
> think al went fine :)
>
> this is my output:
>
>
> + @apache-royale/[email protected]
>
> 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%7Cb54fe685628942737caa08d7375eae53%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637038752101014050&sdata=QnUwvb%2FB5tp42EKcRos6x8Qqipwzv5jR91HP6OgA0OE%3D&reserved=0
>
>
>
--
Carlos Rovira
http://about.me/carlosrovira