DOS carriage return newlines `\r\n` cause OSX to choke on trying to run `node\r`. ``` [~/code]> ngdocs env: node\r: No such file or directory ``` `node\r` the `\r` being the problem. dos2unix the files or replace `\r\n` with `\n` for OSX compatibility.