Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread OmPrakash Muppirala
> first time! > Thanks for that and for providing this cool node module!!! > That is great to hear. That is exactly the idea. Installing via the Apache Flex Installer seems like a cumbersome way to introduce newcomers to FlexJS. And managing projects using npm seems to be the in thing in the

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread OK
f there are no disadvantages with creating this html file) Thanks, Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Need-your-help-testing-the-flexjs-npm-module-tp50911p51050.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread OK
lexJS for the first time! Thanks for that and for providing this cool node module!!! Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Need-your-help-testing-the-flexjs-npm-module-tp50911p51048.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread Josh Tynjala
if we can get this working. > > > > > > Thanks, > > > Om > > > > > > > > > > > > > > > > > > OmPrakash Muppirala wrote > > > > > We are discussing if we should have asjsc generate this > > > > > simp

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread OmPrakash Muppirala
e a better > first > > impression and an easier starting point with FlexJS. > > +1 (If there are no disadvantages with creating this html file) > > Thanks, > Olaf > > > > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/FlexJS-Need-your-help-testing-the-flexjs-npm-module-tp50911p51050.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread OmPrakash Muppirala
working. > > > > > > > > Thanks, > > > > Om > > > > > > > > > > > > > > > > > > > > > > > OmPrakash Muppirala wrote > > > > > > We are discussing if we should have asjsc generate this > > > > > > simple html file by default so that newcomers like you have a > > better > > > > > first > > > > > > impression and an easier starting point with FlexJS. > > > > > > > > > > +1 (If there are no disadvantages with creating this html file) > > > > > > > > > > Thanks, > > > > > Olaf > > > > > > > > > > > > > > > > > > > > -- > > > > > View this message in context: > > > > > > > > > > > > > > > http://apache-flex-development.247.n4.nabble.com/FlexJS-Need-your-help-testing-the-flexjs-npm-module-tp50911p51050.html > > > > > Sent from the Apache Flex Development mailing list archive at > > > Nabble.com. > > > > > > > > > > > > > > >

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread OmPrakash Muppirala
kash Muppirala wrote > > > > We are discussing if we should have asjsc generate this > > > > simple html file by default so that newcomers like you have a better > > > first > > > > impression and an easier starting point with FlexJS. > > > > >

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-06 Thread Josh Tynjala
nerate this > > > simple html file by default so that newcomers like you have a better > > first > > > impression and an easier starting point with FlexJS. > > > > +1 (If there are no disadvantages with creating this html file) > > > > Thanks, > > Olaf > > &g

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-05 Thread OmPrakash Muppirala
tive\USStat > esMap\src\USStatesMap.as:124 > Call to a possibly undefined method requestAnimationFrame. > requestAnimationFrame(animateScaleDown); > ^ > > > C:\Users\kruegola\AppData\Roaming\npm\node_modules\flexjs\examples\nativ

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-05 Thread OK
ative\USStat esMap\src\USStatesMap.as:133 Type was not found or was not a compile-time constant: SVGRect. var boundingRect:SVGRect = this.pathToAnimate.getBBox(); ^ -- View this message in context: http://apache-flex-development.247.n4

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Josh Tynjala
Judging by the package.json warning, it looks like you are installing it locally instead of globally. When you install locally, npm thinks that you're trying to add it as a dependency for a specific project, so it looks for a package.json file in the current directory. Executables won't be added

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
I looked it up. To clear cache you have to run "npm cache clear". I had to use sudo for all commands, and now it works! Way to go Om! -Alex On 1/4/16, 10:07 AM, "Peter Ent" wrote: >I did not get any errors, but I did use sudo to do it. I confirmed by >trying asjsc again

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
Hi Matthias, Welcome to the community! I'm not sure we have anybody currently testing FlexJS with Linux. It would be great if you have the time to help out not only with finding problems but also proposing fixes for them. I don't have any experience with Linux so any help is much appreciated.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
Didn't notice that, but yes, it should be "Downloading Apache Flex Falcon Compiler" Also, for me on Mac in Terminal, the cursor position when asking for "y" or "n" in the license acceptance was in a funky place. I think it may be because the Terminal window was scrolling the output or was an

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Matthias Bode
Hello All , i am new to the Group ... and i just checked out the Linux version . the flexJS Stuff looks pretty awesome cool and neat you are gr8 are you testing on Linux ?? - or is the flexJS a Linux matter - no ?? Is there a TroubleShoot List/Rider where all the current Error´s in

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 12:18 PM, Carlos Rovira < carlos.rov...@codeoscopic.com> wrote: > Hi Just tryed on Mac. > > Since the last time I had problems with node and npm, I first removed the > installation and reinstalled with this solution to avoid use of sudo >

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
Yes. That was the problem. Next issue: I tried installing this on a non-developement machine which apparently did not have Java installed. When trying to run asjsc, I get a warning that “No Java runtime preset”. Even after installing Java, I still get this error. Do I need to re-install

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
One comment: "Downloading Apache Falcon" is not correct. Falcon is a separate Apache project. It should be Apache Flex Falcon Compiler. I tried installing and it does not look like it worked for me. Here’s the output at the end of the install: request@2.67.0

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Carlos Rovira
Hi Just tryed on Mac. Since the last time I had problems with node and npm, I first removed the installation and reinstalled with this solution to avoid use of sudo https://gist.github.com/DanHerbert/9520689 I then reinstalled (I have npm 3.5.2 installed) and all seems to install ok. Then I had

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 12:36 PM, Harbs wrote: > Yes. That was the problem. > > Next issue: > > I tried installing this on a non-developement machine which apparently did > not have Java installed. When trying to run asjsc, I get a warning that “No > Java runtime preset”.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Jan 4, 2016 11:30 AM, "Harbs" wrote: > > One comment: "Downloading Apache Falcon" is not correct. Falcon is a separate Apache project. It should be Apache Flex Falcon Compiler. > Good catch. I will fix that. > I tried installing and it does not look like it worked

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
Whoops. I installed JRE rather than JDK. Installing JDK now… On Jan 4, 2016, at 10:40 PM, OmPrakash Muppirala wrote: > On Mon, Jan 4, 2016 at 12:36 PM, Harbs wrote: > >> Yes. That was the problem. >> >> Next issue: >> >> I tried installing this

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Harbs
OK. That did it. I got the sample to compile. Amazing work! It would be cool if we could get the html file to be created as well. On Jan 4, 2016, at 10:43 PM, Harbs wrote: > Whoops. I installed JRE rather than JDK. > > Installing JDK now… > > On Jan 4, 2016, at 10:40

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Jan 4, 2016 10:02 AM, "Alex Harui" wrote: > > > > On 1/4/16, 8:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" > wrote: > > >Oh right, forgot about that. > > > >npm uninstall flexjs -g > > > >Then clear cache

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 11:37 AM, Matthias Bode wrote: > Hello All , > > i am new to the Group ... and i just checked out the Linux version . > the flexJS Stuff looks pretty awesome cool and neat you are gr8 > are you testing on Linux ?? - or is the flexJS a Linux

[FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
Hi folks, I now have the flexjs npm module working fine on Windows (Cygiwn) and Mac OSX. Once again, here are the steps to test: 1. If you don't have Node and/or npm installed, first install it - Windows: Use the Installer from https://nodejs.org. Ensure that you select the 'npm

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
On Mon, Jan 4, 2016 at 1:23 PM, Josh Tynjala wrote: > If you want to compile FlexJS framework apps that also have an HTML file, > Om needs to expose the mxmlc compiler in js/bin too. asjsc is meant to be > integrated into a larger workflow where you use the generated JS

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
Done! Added mxmlc support which correctly outputs the html files as well. (There is a bug in the mxmlc script that I had to fix, I will open a new thread about that) Try this to get mxmlc to work with npm: *npm uninstall flexjs -g* *npm uninstall flexjs* *npm cache clear* npm install -g

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
Sounds exciting. For those of us who have already tried this, what are the steps to uninstall so we know we are installing from a clean slate? Thanks, -Alex On 1/4/16, 1:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Hi

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread OmPrakash Muppirala
Oh right, forgot about that. npm uninstall flexjs -g Then clear cache and install. Thanks, Om On Jan 4, 2016 7:44 AM, "Alex Harui" wrote: > Sounds exciting. For those of us who have already tried this, what are > the steps to uninstall so we know we are installing from a

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Peter Ent
I tried this just now. Worked fine; no errors and it built the USStatesMap project. I also tried it out with the ChartExample and using an MXML file as the main project file; that works too. I think it has to generate or there has to be a companion tool to build the HTML files before it can be

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Alex Harui
On 1/4/16, 8:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Oh right, forgot about that. > >npm uninstall flexjs -g > >Then clear cache and install. Clear what cache and how? I just tried it and it didn't work for me.

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Peter Ent
I did not get any errors, but I did use sudo to do it. I confirmed by trying asjsc again which could not be found. ‹peter On 1/4/16, 1:02 PM, "Alex Harui" wrote: > > >On 1/4/16, 8:18 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" >

Re: [FlexJS] Need your help testing the flexjs npm module

2016-01-04 Thread Josh Tynjala
If you use js/bin/mxmlc instead of js/bin/asjsc, it will generate an HTML file. asjsc generates only JavaScript so that you can integrate it into your own custom HTML. - Josh On Mon, Jan 4, 2016 at 9:29 AM, Peter Ent wrote: > I tried this just now. Worked fine; no errors and it