DTrejo / node-authors

print a markdown list of authors/contributors to your git repo, including github usernames. uses node.js!
MIT License
41 stars 2 forks source link

Windows line endings cause crash on Linux #9

Open maxkueng opened 7 years ago

maxkueng commented 7 years ago
OS VERSION
NODE VERSION
PACKAGE VERSION
PROBLEM DESCRIPTION

When I run authors I get the following error:

/usr/bin/env: ‘node\r’: No such file or directory

When I open bin/authors in Vim it shows that there are ^M (that's \r) carriage return characters at the end of each line which means the file is saved using Windows line endings (\r\n instead of \n, or 0xD 0xA instead of 0xA).

Screenshot: image