Convert all line endings to LF
Why? So that you can check your node_modules folder into git, whether or not there are mixed line endings in files.
Use dos2unix, which you can get using macports:
sudo port install dos2unix
And then use it:
dos2unix filetoconvert.js
Or if there are many offending files:
find path/to/bad/files/ | xargs dos2unix
And then git add whatever you like and you’ll be good to go!
