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 <bigosma...@gmail.com> wrote: > 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" <aha...@adobe.com> 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, 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 the >> following error in my terminal. >> >> /usr/local/bin/asjsc: /bin/sh^M: bad interpreter: No such file or >> directory >> >> I'm on Mac 10.11.5. >> >> Any ideas? >> >> - Josh >> >