Re: Cannot run Apache FlexJS from NPM

2016-08-17 Thread Josh Tynjala
I updated download_dependencies.js to fix the line endings during installation. If we add more scripts to the NPM version in the future (such as asnodec), they will need to be added to the array of files that get fixed. That should have been enough to get this working on Mac when the NPM module is

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Alex Harui
Oh and I should mention that the clue is in this output: /usr/local/bin/asjsc: /bin/sh^M: bad interpreter... The ^M is the CR character. It is being used as a part of the file name and not as a line break. -Alex On 6/10/16, 10:54 AM, "Alex Harui" wrote: >OK. Om, I haven't looked at how NPM

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Josh Tynjala
I changed the line endings from CRLF to LF (from Windows to Unix) in the copy that NPM installed locally, and it started working correctly. Good call, Alex. - Josh On Fri, Jun 10, 2016 at 8:47 AM, OmPrakash Muppirala wrote: > I haven't really tested it on a mac. Can you help figure out a fix f

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Alex Harui
OK. Om, I haven't looked at how NPM packaging works but I think you may need to change CRLF to LF before placing the non .bat files into a package. Our main Ant build scripts do that with fixcrlf. -Alex On 6/10/16, 10:50 AM, "Josh Tynjala" wrote: >I changed the line endings from CRLF to LF (f

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread OmPrakash Muppirala
I haven't really tested it on a mac. Can you help figure out a fix for this? Thanks, Om On Jun 10, 2016 8:42 AM, "Alex Harui" wrote: > That sounds like a crlf issue. > > Sent from my LG G3, an AT&T 4G LTE smartphone > > -- Original message-- > From: Josh Tynjala > Date: Fri, Jun 10, 201

Re: Cannot run Apache FlexJS from NPM

2016-06-10 Thread Alex Harui
That sounds like a crlf issue. Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: Josh Tynjala Date: Fri, Jun 10, 2016 8:08 AM To: dev@flex.apache.org; Subject:Cannot run Apache FlexJS from NPM I tried installing FlexJS from NPM, but when I try to run asjsc, I get