Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread OmPrakash Muppirala
I am not sure since I have never tested this on Linux.
It appears that the installation is going on inside:
 /usr/local/lib/node_modules/flexjs

Perhaps you can debug and provide a patch? :-)

Thanks,
Om

On Fri, Sep 1, 2017 at 2:47 PM, Peter Spierenburg <
peter.spierenb...@nautel.com> wrote:

> Where does npm put its downloads directory?
> 
> From: omup...@gmail.com  on behalf of OmPrakash
> Muppirala 
> Sent: September 1, 2017 2:47:56 PM
> To: users@flex.apache.org
> Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04
>
> Peter,
>
> Do you see anything in the downloads directory as the npm install process
> is running?
>
> Thanks,
> Om
>
> On Fri, Sep 1, 2017 at 8:59 AM, Peter Spierenburg <
> peter.spierenb...@nautel.com> wrote:
>
> > $ sudo npm install flexjs -g
> > npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should
> > check out fs-extra (https://github.com/jprichardson/node-fs-extra) for
> > any operations you were using wrench for. Thanks for all the usage over
> the
> > years.
> > npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2
> or
> > higher to avoid a RegExp DoS issue
> > /usr/local/bin/asjsc -> /usr/local/lib/node_modules/
> flexjs/js/bin/asjscnpm
> > /usr/local/bin/asjscompc -> /usr/local/lib/node_modules/
> > flexjs/js/bin/asjscompcnpm
> > /usr/local/bin/asnodec -> /usr/local/lib/node_modules/
> > flexjs/js/bin/asnodecnpm
> > /usr/local/bin/mxmlc -> /usr/local/lib/node_modules/
> flexjs/js/bin/mxmlcnpm
> > /usr/local/bin/externc -> /usr/local/lib/node_modules/
> > flexjs/js/bin/externcnpm
> > /usr/local/bin/compc -> /usr/local/lib/node_modules/
> flexjs/js/bin/compcnpm
> >
> > > flexjs@0.8.0 postinstall /usr/local/lib/node_modules/flexjs
> > > node dependencies/download_dependencies.js
> >
> > prompt: Apache FlexJS includes an optional component set
> > that uses fonts from designmodo.com.  The font
> > files are subject to and governed by the
> > Creative Commons Attribution-NonCommercial-NoDerivs 3.0
> > Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/
> > This license is not compatible with the Apache v2 license.
> > Do you want to install the designmodo fonts?
> > This is an optional component (y/n):  n
> > Skipping FlatUI installation
> > prompt: Apache FlexJS SDK uses the Adobe Flash Player's playerglobal.swc
> > to build Adobe Flash applications.
> > The playerglobal.swc file is subject to and governed by the
> > Adobe Flex SDK License Agreement specified here:
> > http://www.adobe.com/products/eulas/pdfs/adobe_flex_
> > software_development_kit-combined-20110916_0930.pdf,
> > By downloading, modifying, distributing, using and/or accessing the
> > playerglobal.swc file
> > you agree to the terms and conditions of the applicable end user license
> > agreement.
> >
> > In addition to the Adobe license terms, you also agree to be bound by the
> > third-party terms specified here:
> > http://www.adobe.com/products/eula/third_party/.
> > Adobe recommends that you review these third-party terms.
> >
> > This license is not compatible with the Apache v2 license.
> > Do you want to download and install the playerglobal.swc?
> > This is a required component (y/n):  y
> > Downloading playerglobal.swc from http://download.macromedia.
> > com/get/flashplayer/updaters/25/playerglobal25_0.swc
> > Downloading: http://download.macromedia.com/get/flashplayer/updaters/
> > 25/playerglobal25_0.swc
> > events.js:182
> >   throw er; // Unhandled 'error' event
> >   ^
> >
> > Error: ENOENT: no such file or directory, open
> > './downloads/playerglobal25_0.swc'
> > npm ERR! code ELIFECYCLE
> > npm ERR! errno 1
> > npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
> > dependencies.js`
> > npm ERR! Exit status 1
> > npm ERR!
> > npm ERR! Failed at the flexjs@0.8.0 postinstall script.
> > npm ERR! This is probably not a problem with npm. There is likely
> > additional logging output above.
> >
> > npm ERR! A complete log of this run can be found in:
> > npm ERR! /home/user/.npm/_logs/2017-09-01T15_57_25_565Z-debug.log
> >
> >
> > 
> > From: Piotr Zarzycki 
> > Sent: September 1, 2017 12:52:20 PM
> > To: users@flex.apache.org
> > Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04
> >
> > Peter,
> >
> > Try do not download designmodo fonts to see what happen. -> This is an
> > optional component (y/n):  n.
> >
> > Thanks, Piotr
> >
> > 2017-09-01 17:24 GMT+02:00 Peter Spierenburg <
> peter.spierenb...@nautel.com
> > >:
> >
> > > Ok,
> > >
> > >
> > > I followed the instructions at https://davidwalsh.name/upgrade-nodejs
> > >
> > > [https://davidwalsh.name/wp-content/themes/punky/images/logo.png]<
> > > https://davidwalsh.name/upgrade-nodejs>
> > >
> > > Upgrade Node.js via NPM - David Walsh Blog > > upgrade-nodejs>
> > > davidwalsh.name
> > > Learn how 

Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Peter Spierenburg
Where does npm put its downloads directory?

From: omup...@gmail.com  on behalf of OmPrakash Muppirala 

Sent: September 1, 2017 2:47:56 PM
To: users@flex.apache.org
Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04

Peter,

Do you see anything in the downloads directory as the npm install process
is running?

Thanks,
Om

On Fri, Sep 1, 2017 at 8:59 AM, Peter Spierenburg <
peter.spierenb...@nautel.com> wrote:

> $ sudo npm install flexjs -g
> npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should
> check out fs-extra (https://github.com/jprichardson/node-fs-extra) for
> any operations you were using wrench for. Thanks for all the usage over the
> years.
> npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or
> higher to avoid a RegExp DoS issue
> /usr/local/bin/asjsc -> /usr/local/lib/node_modules/flexjs/js/bin/asjscnpm
> /usr/local/bin/asjscompc -> /usr/local/lib/node_modules/
> flexjs/js/bin/asjscompcnpm
> /usr/local/bin/asnodec -> /usr/local/lib/node_modules/
> flexjs/js/bin/asnodecnpm
> /usr/local/bin/mxmlc -> /usr/local/lib/node_modules/flexjs/js/bin/mxmlcnpm
> /usr/local/bin/externc -> /usr/local/lib/node_modules/
> flexjs/js/bin/externcnpm
> /usr/local/bin/compc -> /usr/local/lib/node_modules/flexjs/js/bin/compcnpm
>
> > flexjs@0.8.0 postinstall /usr/local/lib/node_modules/flexjs
> > node dependencies/download_dependencies.js
>
> prompt: Apache FlexJS includes an optional component set
> that uses fonts from designmodo.com.  The font
> files are subject to and governed by the
> Creative Commons Attribution-NonCommercial-NoDerivs 3.0
> Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/
> This license is not compatible with the Apache v2 license.
> Do you want to install the designmodo fonts?
> This is an optional component (y/n):  n
> Skipping FlatUI installation
> prompt: Apache FlexJS SDK uses the Adobe Flash Player's playerglobal.swc
> to build Adobe Flash applications.
> The playerglobal.swc file is subject to and governed by the
> Adobe Flex SDK License Agreement specified here:
> http://www.adobe.com/products/eulas/pdfs/adobe_flex_
> software_development_kit-combined-20110916_0930.pdf,
> By downloading, modifying, distributing, using and/or accessing the
> playerglobal.swc file
> you agree to the terms and conditions of the applicable end user license
> agreement.
>
> In addition to the Adobe license terms, you also agree to be bound by the
> third-party terms specified here:
> http://www.adobe.com/products/eula/third_party/.
> Adobe recommends that you review these third-party terms.
>
> This license is not compatible with the Apache v2 license.
> Do you want to download and install the playerglobal.swc?
> This is a required component (y/n):  y
> Downloading playerglobal.swc from http://download.macromedia.
> com/get/flashplayer/updaters/25/playerglobal25_0.swc
> Downloading: http://download.macromedia.com/get/flashplayer/updaters/
> 25/playerglobal25_0.swc
> events.js:182
>   throw er; // Unhandled 'error' event
>   ^
>
> Error: ENOENT: no such file or directory, open
> './downloads/playerglobal25_0.swc'
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
> dependencies.js`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the flexjs@0.8.0 postinstall script.
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
>
> npm ERR! A complete log of this run can be found in:
> npm ERR! /home/user/.npm/_logs/2017-09-01T15_57_25_565Z-debug.log
>
>
> 
> From: Piotr Zarzycki 
> Sent: September 1, 2017 12:52:20 PM
> To: users@flex.apache.org
> Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04
>
> Peter,
>
> Try do not download designmodo fonts to see what happen. -> This is an
> optional component (y/n):  n.
>
> Thanks, Piotr
>
> 2017-09-01 17:24 GMT+02:00 Peter Spierenburg  >:
>
> > Ok,
> >
> >
> > I followed the instructions at https://davidwalsh.name/upgrade-nodejs
> >
> > [https://davidwalsh.name/wp-content/themes/punky/images/logo.png]<
> > https://davidwalsh.name/upgrade-nodejs>
> >
> > Upgrade Node.js via NPM - David Walsh Blog > upgrade-nodejs>
> > davidwalsh.name
> > Learn how to upgrade Node.js with the NPM package system!
> >
> > to upgrade my nodejs to the latest 8.4.0 release.
> >
> > Now my error is:
> >
> > sudo npm install flexjs -g
> > npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should
> > check out fs-extra (https://github.com/jprichardson/node-fs-extra) for
> > any operations you were using wrench for. Thanks for all the usage over
> the
> > years.
> > npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2
> or
> > higher to avoid a RegExp DoS issue
> > 

Re: Remote object for Flex JS

2017-09-01 Thread Alex Harui
Hi Folks,

I just pushed changes that include a back port of amf.js to ActionScript.
In doing so, the AMF code now uses the Reflection APIs that Greg Dove
contributed.  The test still only passes a String to the server, but in
doing so, it has to wrap the String in an AsyncMessage subclass and I
think I have watched the AMF code correctly serialize and deserialize
those FlexJS classes to AMF and back.

Next step is to try it with an actual ValueObject.  Can someone help with
what changes would need to be made to the service to handle a custom Java
class instead of just a String?

One other note:  In doing the back port, I created an AMFBinaryData that
works like BinaryData, but doesn't subclass it.  That's because it appears
to me that APIs like writeUTF do differently things.  Maybe we can factor
out some common base class at some point.  But I think you can now use
AMFBinaryData.writeObject/readObject to clone objects like we do with
ByteArray.  AMFBinaryData is currently only for JS, but I think it could
easily have SWF code that writes to a ByteArray added to it.

Thanks,
-Alex

On 8/23/17, 10:32 AM, "Alex Harui"  wrote:

>Hi Prashant,
>
>The AMF work is in a separate branch so make sure you get the latest code.
> Maybe Piotr or another volunteer will merge the branch into develop so it
>appears in the nightly.
>
>-Alex
>
>On 8/23/17, 9:52 AM, "PKumar"  wrote:
>
>>Sure, I will download the FlexJS nightly build and check it.
>>
>>On 23-Aug-2017 10:01 PM, "Alex Harui-2 [via Apache Flex Users]" <
>>ml+s246n1580...@n4.nabble.com> wrote:
>>
>>> Hi Prashant,
>>>
>>> If you could add to RemoteObjectAMFTest and SampleAmfWebApp to work
>>>with
>>> an actual ValueObject, that would be great!
>>>
>>> Thanks,
>>> -Alex
>>>
>>> On 8/23/17, 9:21 AM, "PKumar" <[hidden email]
>>> > wrote:
>>>
>>> >Really great Alex,  if you  need my help in testing  or creating demo.
>>>Do
>>> >please let me know.
>>> >
>>> >On 23-Aug-2017 9:46 PM, "Alex Harui-2 [via Apache Flex Users]" <
>>> >[hidden email] >
>>> wrote:
>>> >
>>> >> Hi Prashant,
>>> >>
>>> >> Yes, the RemoteObjectAMFTest only tries to send a String.  To handle
>>> >>true
>>> >> ValueObjects we would need to leverage the amfjs class mapping.  I
>>> added
>>> >> code to the compiler to generate a map for the [RemoteClass]
>>>metadata
>>> >>but
>>> >> I didn't hook that up on the JS side yet.  It sounds like the
>>>interest
>>> >>is
>>> >> in backporting amfjs to AS and make the API similar to regular Flex.
>>> In
>>> >> that case, I will refactor the amfjs class map to use the one in our
>>> >> Reflection library.
>>> >>
>>> >> -Alex
>>> >>
>>> >> On 8/23/17, 9:08 AM, "PKumar" <[hidden email]
>>> >> > wrote:
>>> >>
>>> >> >Alex,
>>> >> >
>>> >> >It will really great, if this works same or mostly similar as
>>>regular
>>> >> Flex
>>> >> >SDK.
>>> >> >
>>> >> >One more point on amfJS library , it also supports class mapping.
>>>It
>>> >>has
>>> >> >one method *registerClasses* that can be used for Java class to
>>>flex
>>> >> >mapping.
>>> >> >
>>> >> >On 23-Aug-2017 11:12 AM, "Alex Harui-2 [via Apache Flex Users]" <
>>> >> >[hidden email]
>>>>
>>> >> wrote:
>>> >> >
>>> >> >> So, I played around with AMF today, adding SWF code for
>>> RemoteObject.
>>> >> >>For
>>> >> >> me, the RemoteObjectAMFTest in examples/flexjs is working against
>>> the
>>> >> >> SampleAmfWebApp in examples/amf for both SWF and JS.  I don't
>>>think
>>> I
>>> >> >>had
>>> >> >> to touch the JS code in amf.js.  That's better than I was
>>>expecting.
>>> >> >>Am I
>>> >> >> not doing something right or is there some other problem that
>>>needs
>>> >> >> solving?
>>> >> >>
>>> >> >> Some observations along the way:
>>> >> >>
>>> >> >> I was able to talk to the server in SWF code just by using
>>> >> >> NetConnection.call and passing in CommandMessages and
>>> >>RemotingMessages,
>>> >> >> but the amf.js code seems to be sending an ActionMessage wrapped
>>> >>around
>>> >> >> the CommandMessage and RemotingMessage.  Is that wrapping what
>>> >> >> NetConnection does?
>>> >> >>
>>> >> >> I'm tempted to try to refactor amf.js into several AS classes.
>>>Is
>>> >>that
>>> >> >> worth doing or are there bigger fish to fry?
>>> >> >>
>>> >> >> The amf.js code includes a Promise implementation.  If we
>>>refactor
>>> to
>>> >> >>AS,
>>> >> >> should we try to use promises or make the API more compatible
>>>with
>>> >> >>regular
>>> >> >> Flex?  I'm leaning towards compatibility with regular Flex.
>>> >> >>
>>> >> >> Thoughts?
>>> >> >> -Alex
>>> >> >>
>>> >> >> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
>>> >> >> > wrote:
>>> >> >>
>>> >> >> >There’s probably an advantage to converting it to FlexJS. You
>>>could
>>> >> >> 

Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread OmPrakash Muppirala
Peter,

Do you see anything in the downloads directory as the npm install process
is running?

Thanks,
Om

On Fri, Sep 1, 2017 at 8:59 AM, Peter Spierenburg <
peter.spierenb...@nautel.com> wrote:

> $ sudo npm install flexjs -g
> npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should
> check out fs-extra (https://github.com/jprichardson/node-fs-extra) for
> any operations you were using wrench for. Thanks for all the usage over the
> years.
> npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or
> higher to avoid a RegExp DoS issue
> /usr/local/bin/asjsc -> /usr/local/lib/node_modules/flexjs/js/bin/asjscnpm
> /usr/local/bin/asjscompc -> /usr/local/lib/node_modules/
> flexjs/js/bin/asjscompcnpm
> /usr/local/bin/asnodec -> /usr/local/lib/node_modules/
> flexjs/js/bin/asnodecnpm
> /usr/local/bin/mxmlc -> /usr/local/lib/node_modules/flexjs/js/bin/mxmlcnpm
> /usr/local/bin/externc -> /usr/local/lib/node_modules/
> flexjs/js/bin/externcnpm
> /usr/local/bin/compc -> /usr/local/lib/node_modules/flexjs/js/bin/compcnpm
>
> > flexjs@0.8.0 postinstall /usr/local/lib/node_modules/flexjs
> > node dependencies/download_dependencies.js
>
> prompt: Apache FlexJS includes an optional component set
> that uses fonts from designmodo.com.  The font
> files are subject to and governed by the
> Creative Commons Attribution-NonCommercial-NoDerivs 3.0
> Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/
> This license is not compatible with the Apache v2 license.
> Do you want to install the designmodo fonts?
> This is an optional component (y/n):  n
> Skipping FlatUI installation
> prompt: Apache FlexJS SDK uses the Adobe Flash Player's playerglobal.swc
> to build Adobe Flash applications.
> The playerglobal.swc file is subject to and governed by the
> Adobe Flex SDK License Agreement specified here:
> http://www.adobe.com/products/eulas/pdfs/adobe_flex_
> software_development_kit-combined-20110916_0930.pdf,
> By downloading, modifying, distributing, using and/or accessing the
> playerglobal.swc file
> you agree to the terms and conditions of the applicable end user license
> agreement.
>
> In addition to the Adobe license terms, you also agree to be bound by the
> third-party terms specified here:
> http://www.adobe.com/products/eula/third_party/.
> Adobe recommends that you review these third-party terms.
>
> This license is not compatible with the Apache v2 license.
> Do you want to download and install the playerglobal.swc?
> This is a required component (y/n):  y
> Downloading playerglobal.swc from http://download.macromedia.
> com/get/flashplayer/updaters/25/playerglobal25_0.swc
> Downloading: http://download.macromedia.com/get/flashplayer/updaters/
> 25/playerglobal25_0.swc
> events.js:182
>   throw er; // Unhandled 'error' event
>   ^
>
> Error: ENOENT: no such file or directory, open
> './downloads/playerglobal25_0.swc'
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
> dependencies.js`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the flexjs@0.8.0 postinstall script.
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
>
> npm ERR! A complete log of this run can be found in:
> npm ERR! /home/user/.npm/_logs/2017-09-01T15_57_25_565Z-debug.log
>
>
> 
> From: Piotr Zarzycki 
> Sent: September 1, 2017 12:52:20 PM
> To: users@flex.apache.org
> Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04
>
> Peter,
>
> Try do not download designmodo fonts to see what happen. -> This is an
> optional component (y/n):  n.
>
> Thanks, Piotr
>
> 2017-09-01 17:24 GMT+02:00 Peter Spierenburg  >:
>
> > Ok,
> >
> >
> > I followed the instructions at https://davidwalsh.name/upgrade-nodejs
> >
> > [https://davidwalsh.name/wp-content/themes/punky/images/logo.png]<
> > https://davidwalsh.name/upgrade-nodejs>
> >
> > Upgrade Node.js via NPM - David Walsh Blog > upgrade-nodejs>
> > davidwalsh.name
> > Learn how to upgrade Node.js with the NPM package system!
> >
> > to upgrade my nodejs to the latest 8.4.0 release.
> >
> > Now my error is:
> >
> > sudo npm install flexjs -g
> > npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should
> > check out fs-extra (https://github.com/jprichardson/node-fs-extra) for
> > any operations you were using wrench for. Thanks for all the usage over
> the
> > years.
> > npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2
> or
> > higher to avoid a RegExp DoS issue
> > /usr/local/bin/asjsc -> /usr/local/lib/node_modules/
> flexjs/js/bin/asjscnpm
> > /usr/local/bin/asjscompc -> /usr/local/lib/node_modules/
> > flexjs/js/bin/asjscompcnpm
> > /usr/local/bin/compc -> /usr/local/lib/node_modules/
> flexjs/js/bin/compcnpm
> > /usr/local/bin/mxmlc -> /usr/local/lib/node_modules/
> 

Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Peter Spierenburg
$ sudo npm install flexjs -g
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out 
fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you 
were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or 
higher to avoid a RegExp DoS issue
/usr/local/bin/asjsc -> /usr/local/lib/node_modules/flexjs/js/bin/asjscnpm
/usr/local/bin/asjscompc -> 
/usr/local/lib/node_modules/flexjs/js/bin/asjscompcnpm
/usr/local/bin/asnodec -> /usr/local/lib/node_modules/flexjs/js/bin/asnodecnpm
/usr/local/bin/mxmlc -> /usr/local/lib/node_modules/flexjs/js/bin/mxmlcnpm
/usr/local/bin/externc -> /usr/local/lib/node_modules/flexjs/js/bin/externcnpm
/usr/local/bin/compc -> /usr/local/lib/node_modules/flexjs/js/bin/compcnpm

> flexjs@0.8.0 postinstall /usr/local/lib/node_modules/flexjs
> node dependencies/download_dependencies.js

prompt: Apache FlexJS includes an optional component set
that uses fonts from designmodo.com.  The font
files are subject to and governed by the
Creative Commons Attribution-NonCommercial-NoDerivs 3.0
Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/
This license is not compatible with the Apache v2 license.
Do you want to install the designmodo fonts?
This is an optional component (y/n):  n
Skipping FlatUI installation
prompt: Apache FlexJS SDK uses the Adobe Flash Player's playerglobal.swc to 
build Adobe Flash applications.
The playerglobal.swc file is subject to and governed by the
Adobe Flex SDK License Agreement specified here:
http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf,
By downloading, modifying, distributing, using and/or accessing the 
playerglobal.swc file
you agree to the terms and conditions of the applicable end user license 
agreement.

In addition to the Adobe license terms, you also agree to be bound by the 
third-party terms specified here:
http://www.adobe.com/products/eula/third_party/.
Adobe recommends that you review these third-party terms.

This license is not compatible with the Apache v2 license.
Do you want to download and install the playerglobal.swc?
This is a required component (y/n):  y
Downloading playerglobal.swc from 
http://download.macromedia.com/get/flashplayer/updaters/25/playerglobal25_0.swc
Downloading: 
http://download.macromedia.com/get/flashplayer/updaters/25/playerglobal25_0.swc
events.js:182
  throw er; // Unhandled 'error' event
  ^

Error: ENOENT: no such file or directory, open 
'./downloads/playerglobal25_0.swc'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_dependencies.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the flexjs@0.8.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional 
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2017-09-01T15_57_25_565Z-debug.log



From: Piotr Zarzycki 
Sent: September 1, 2017 12:52:20 PM
To: users@flex.apache.org
Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04

Peter,

Try do not download designmodo fonts to see what happen. -> This is an
optional component (y/n):  n.

Thanks, Piotr

2017-09-01 17:24 GMT+02:00 Peter Spierenburg :

> Ok,
>
>
> I followed the instructions at https://davidwalsh.name/upgrade-nodejs
>
> [https://davidwalsh.name/wp-content/themes/punky/images/logo.png]<
> https://davidwalsh.name/upgrade-nodejs>
>
> Upgrade Node.js via NPM - David Walsh Blog upgrade-nodejs>
> davidwalsh.name
> Learn how to upgrade Node.js with the NPM package system!
>
> to upgrade my nodejs to the latest 8.4.0 release.
>
> Now my error is:
>
> sudo npm install flexjs -g
> npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should
> check out fs-extra (https://github.com/jprichardson/node-fs-extra) for
> any operations you were using wrench for. Thanks for all the usage over the
> years.
> npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or
> higher to avoid a RegExp DoS issue
> /usr/local/bin/asjsc -> /usr/local/lib/node_modules/flexjs/js/bin/asjscnpm
> /usr/local/bin/asjscompc -> /usr/local/lib/node_modules/
> flexjs/js/bin/asjscompcnpm
> /usr/local/bin/compc -> /usr/local/lib/node_modules/flexjs/js/bin/compcnpm
> /usr/local/bin/mxmlc -> /usr/local/lib/node_modules/flexjs/js/bin/mxmlcnpm
> /usr/local/bin/externc -> /usr/local/lib/node_modules/
> flexjs/js/bin/externcnpm
> /usr/local/bin/asnodec -> /usr/local/lib/node_modules/
> flexjs/js/bin/asnodecnpm
>
> > flexjs@0.8.0 postinstall /usr/local/lib/node_modules/flexjs
> > node dependencies/download_dependencies.js
>
> prompt: Apache FlexJS includes an optional component set
> that uses fonts from designmodo.com.  The font
> files are 

Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Piotr Zarzycki
Peter,

Try do not download designmodo fonts to see what happen. -> This is an
optional component (y/n):  n.

Thanks, Piotr

2017-09-01 17:24 GMT+02:00 Peter Spierenburg :

> Ok,
>
>
> I followed the instructions at https://davidwalsh.name/upgrade-nodejs
>
> [https://davidwalsh.name/wp-content/themes/punky/images/logo.png]<
> https://davidwalsh.name/upgrade-nodejs>
>
> Upgrade Node.js via NPM - David Walsh Blog upgrade-nodejs>
> davidwalsh.name
> Learn how to upgrade Node.js with the NPM package system!
>
> to upgrade my nodejs to the latest 8.4.0 release.
>
> Now my error is:
>
> sudo npm install flexjs -g
> npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should
> check out fs-extra (https://github.com/jprichardson/node-fs-extra) for
> any operations you were using wrench for. Thanks for all the usage over the
> years.
> npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or
> higher to avoid a RegExp DoS issue
> /usr/local/bin/asjsc -> /usr/local/lib/node_modules/flexjs/js/bin/asjscnpm
> /usr/local/bin/asjscompc -> /usr/local/lib/node_modules/
> flexjs/js/bin/asjscompcnpm
> /usr/local/bin/compc -> /usr/local/lib/node_modules/flexjs/js/bin/compcnpm
> /usr/local/bin/mxmlc -> /usr/local/lib/node_modules/flexjs/js/bin/mxmlcnpm
> /usr/local/bin/externc -> /usr/local/lib/node_modules/
> flexjs/js/bin/externcnpm
> /usr/local/bin/asnodec -> /usr/local/lib/node_modules/
> flexjs/js/bin/asnodecnpm
>
> > flexjs@0.8.0 postinstall /usr/local/lib/node_modules/flexjs
> > node dependencies/download_dependencies.js
>
> prompt: Apache FlexJS includes an optional component set
> that uses fonts from designmodo.com.  The font
> files are subject to and governed by the
> Creative Commons Attribution-NonCommercial-NoDerivs 3.0
> Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/
> This license is not compatible with the Apache v2 license.
> Do you want to install the designmodo fonts?
> This is an optional component (y/n):  y
> Downloading FlatUI from https://github.com/designmodo/
> Flat-UI/archive/2.2.2.zip
> internal/streams/legacy.js:59
>   throw er; // Unhandled stream error in pipe.
>   ^
>
> Error: ENOENT: no such file or directory, open './downloads/2.2.2.zip'
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
> dependencies.js`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the flexjs@0.8.0 postinstall script.
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
>
> npm ERR! A complete log of this run can be found in:
> npm ERR! /home/user/.npm/_logs/2017-09-01T15_21_27_387Z-debug.log
>
>
>
>
> 
> From: Josh Tynjala 
> Sent: September 1, 2017 12:12:55 PM
> To: users@flex.apache.org
> Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04
>
> I would recommend upgrading to at least Node 6, since that's the latest LTS
> release.
>
> Additionally, you may need to use sudo when installing packages globally
> with npm.
>
> - Josh
>
> On Sep 1, 2017 6:52 AM, "Peter Spierenburg" 
> wrote:
>
> https://cwiki.apache.org/confluence/display/FLEX/
> Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller
>
> Getting Started With FlexJS - Apache Flex - Apache ...<
> https://cwiki.apache.org/confluence/display/FLEX/
> Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller>
> cwiki.apache.org
> Application developers can create applications with Apache FlexJS via a
> number IDEs, from the command line, with Ant, and soon, Maven. Below are
> links to instructions ...
>
> I am trying to follow the instructions above, and I am failing miserably.
>
>
> When I follow the instructions under "Installing FlexJS via the Node
> Package Manager (npm)" I get the following error:
>
>
> npm ERR! Linux 4.10.0-33-generic
> npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "flexjs" "-g"
> npm ERR! node v4.2.6
> npm ERR! npm  v3.5.2
> npm ERR! file sh
> npm ERR! code ELIFECYCLE
> npm ERR! errno ENOENT
> npm ERR! syscall spawn
>
> npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
> dependencies.js`
> npm ERR! spawn ENOENT
> npm ERR!
> npm ERR! Failed at the flexjs@0.8.0 postinstall script 'node
> dependencies/download_dependencies.js'.
> npm ERR! Make sure you have the latest version of node.js and npm
> installed.
> npm ERR! If you do, this is most likely a problem with the flexjs package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! node dependencies/download_dependencies.js
> npm ERR! You can get information on how to open an issue for this project
> with:
> npm ERR! npm bugs flexjs
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR! npm owner ls flexjs
> npm ERR! There is 

Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Peter Spierenburg
Ok,


I followed the instructions at https://davidwalsh.name/upgrade-nodejs

[https://davidwalsh.name/wp-content/themes/punky/images/logo.png]

Upgrade Node.js via NPM - David Walsh 
Blog
davidwalsh.name
Learn how to upgrade Node.js with the NPM package system!

to upgrade my nodejs to the latest 8.4.0 release.

Now my error is:

sudo npm install flexjs -g
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out 
fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you 
were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or 
higher to avoid a RegExp DoS issue
/usr/local/bin/asjsc -> /usr/local/lib/node_modules/flexjs/js/bin/asjscnpm
/usr/local/bin/asjscompc -> 
/usr/local/lib/node_modules/flexjs/js/bin/asjscompcnpm
/usr/local/bin/compc -> /usr/local/lib/node_modules/flexjs/js/bin/compcnpm
/usr/local/bin/mxmlc -> /usr/local/lib/node_modules/flexjs/js/bin/mxmlcnpm
/usr/local/bin/externc -> /usr/local/lib/node_modules/flexjs/js/bin/externcnpm
/usr/local/bin/asnodec -> /usr/local/lib/node_modules/flexjs/js/bin/asnodecnpm

> flexjs@0.8.0 postinstall /usr/local/lib/node_modules/flexjs
> node dependencies/download_dependencies.js

prompt: Apache FlexJS includes an optional component set
that uses fonts from designmodo.com.  The font
files are subject to and governed by the
Creative Commons Attribution-NonCommercial-NoDerivs 3.0
Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/
This license is not compatible with the Apache v2 license.
Do you want to install the designmodo fonts?
This is an optional component (y/n):  y
Downloading FlatUI from https://github.com/designmodo/Flat-UI/archive/2.2.2.zip
internal/streams/legacy.js:59
  throw er; // Unhandled stream error in pipe.
  ^

Error: ENOENT: no such file or directory, open './downloads/2.2.2.zip'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_dependencies.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the flexjs@0.8.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional 
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2017-09-01T15_21_27_387Z-debug.log





From: Josh Tynjala 
Sent: September 1, 2017 12:12:55 PM
To: users@flex.apache.org
Subject: Re: How do I install FlexJS and FDT on Ubuntu 16.04

I would recommend upgrading to at least Node 6, since that's the latest LTS
release.

Additionally, you may need to use sudo when installing packages globally
with npm.

- Josh

On Sep 1, 2017 6:52 AM, "Peter Spierenburg" 
wrote:

https://cwiki.apache.org/confluence/display/FLEX/
Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller

Getting Started With FlexJS - Apache Flex - Apache ...<
https://cwiki.apache.org/confluence/display/FLEX/
Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller>
cwiki.apache.org
Application developers can create applications with Apache FlexJS via a
number IDEs, from the command line, with Ant, and soon, Maven. Below are
links to instructions ...

I am trying to follow the instructions above, and I am failing miserably.


When I follow the instructions under "Installing FlexJS via the Node
Package Manager (npm)" I get the following error:


npm ERR! Linux 4.10.0-33-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "flexjs" "-g"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
dependencies.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the flexjs@0.8.0 postinstall script 'node
dependencies/download_dependencies.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the flexjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node dependencies/download_dependencies.js
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs flexjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls flexjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/user/npm-debug.log


When I follow the instructions under "Installing FlexJS by Downloading a
Binary Package" I get the following error:

Buildfile: /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml
  [get] Getting: http://flex.apache.org/installer/properties/flexjs/
en_US.properties
  [get] To: 

Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Josh Tynjala
I would recommend upgrading to at least Node 6, since that's the latest LTS
release.

Additionally, you may need to use sudo when installing packages globally
with npm.

- Josh

On Sep 1, 2017 6:52 AM, "Peter Spierenburg" 
wrote:

https://cwiki.apache.org/confluence/display/FLEX/
Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller

Getting Started With FlexJS - Apache Flex - Apache ...<
https://cwiki.apache.org/confluence/display/FLEX/
Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller>
cwiki.apache.org
Application developers can create applications with Apache FlexJS via a
number IDEs, from the command line, with Ant, and soon, Maven. Below are
links to instructions ...

I am trying to follow the instructions above, and I am failing miserably.


When I follow the instructions under "Installing FlexJS via the Node
Package Manager (npm)" I get the following error:


npm ERR! Linux 4.10.0-33-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "flexjs" "-g"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
dependencies.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the flexjs@0.8.0 postinstall script 'node
dependencies/download_dependencies.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the flexjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node dependencies/download_dependencies.js
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs flexjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls flexjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/user/npm-debug.log


When I follow the instructions under "Installing FlexJS by Downloading a
Binary Package" I get the following error:

Buildfile: /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml
  [get] Getting: http://flex.apache.org/installer/properties/flexjs/
en_US.properties
  [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/en_US.properties

get-data:
  [get] Getting: http://flex.apache.org/installer/sdk-installer-
config-4.0.xml?ts=201709011343
  [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/sdk-installer-
config-4.0.xml

BUILD FAILED
/home/user/apache-flex-flexjs-0.8.0-bin/installer.xml:158: Reference
air.sdk.server.linux.14.0 not found.

Total time: 1 second


I don't suppose there is a debian package that I can just install?

Peter.

This communication, including any attached documentation, is intended only
for the person or entity to which it is addressed, and may contain
confidential, personal, and/or privileged information. Any unauthorized
disclosure, copying, or taking action on the contents is strictly
prohibited. If you have received this message in error, please contact us
immediately so we may correct our records. Please then delete or destroy
the original transmission and any subsequent reply. Thank you.


Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Piotr Zarzycki
Hi Peter,

I see that on Windows there is node version 6.11.2. I see on the stack that
yours is node v4.2.6 - What is the nevest for your Ubuntu distribution ?
Maybe there is really need to be upgraded along with npm.

Thanks,
Piotr


2017-09-01 15:52 GMT+02:00 Peter Spierenburg :

> https://cwiki.apache.org/confluence/display/FLEX/
> Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller
>
> Getting Started With FlexJS - Apache Flex - Apache ...<
> https://cwiki.apache.org/confluence/display/FLEX/
> Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller>
> cwiki.apache.org
> Application developers can create applications with Apache FlexJS via a
> number IDEs, from the command line, with Ant, and soon, Maven. Below are
> links to instructions ...
>
> I am trying to follow the instructions above, and I am failing miserably.
>
>
> When I follow the instructions under "Installing FlexJS via the Node
> Package Manager (npm)" I get the following error:
>
>
> npm ERR! Linux 4.10.0-33-generic
> npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "flexjs" "-g"
> npm ERR! node v4.2.6
> npm ERR! npm  v3.5.2
> npm ERR! file sh
> npm ERR! code ELIFECYCLE
> npm ERR! errno ENOENT
> npm ERR! syscall spawn
>
> npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
> dependencies.js`
> npm ERR! spawn ENOENT
> npm ERR!
> npm ERR! Failed at the flexjs@0.8.0 postinstall script 'node
> dependencies/download_dependencies.js'.
> npm ERR! Make sure you have the latest version of node.js and npm
> installed.
> npm ERR! If you do, this is most likely a problem with the flexjs package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! node dependencies/download_dependencies.js
> npm ERR! You can get information on how to open an issue for this project
> with:
> npm ERR! npm bugs flexjs
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR! npm owner ls flexjs
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
> npm ERR! /home/user/npm-debug.log
>
>
> When I follow the instructions under "Installing FlexJS by Downloading a
> Binary Package" I get the following error:
>
> Buildfile: /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml
>   [get] Getting: http://flex.apache.org/installer/properties/flexjs/
> en_US.properties
>   [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/en_US.properties
>
> get-data:
>   [get] Getting: http://flex.apache.org/installer/sdk-installer-
> config-4.0.xml?ts=201709011343
>   [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/sdk-installer-
> config-4.0.xml
>
> BUILD FAILED
> /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml:158: Reference
> air.sdk.server.linux.14.0 not found.
>
> Total time: 1 second
>
>
> I don't suppose there is a debian package that I can just install?
>
> Peter.
>
> This communication, including any attached documentation, is intended only
> for the person or entity to which it is addressed, and may contain
> confidential, personal, and/or privileged information. Any unauthorized
> disclosure, copying, or taking action on the contents is strictly
> prohibited. If you have received this message in error, please contact us
> immediately so we may correct our records. Please then delete or destroy
> the original transmission and any subsequent reply. Thank you.
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki