-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues running on macOS due to line endings #6
Comments
I can also confirm that this works as a temporary workaround: sudo vim /usr/local/bin/muddle
:set ff=unix
:x |
Thanks for the bug report @Dids! If it's urgent I'll happily merge a pull request. If not, I should be able to handle it this evening. |
I took a minute during lunch time to add a |
Thank you! Not really an urgent issue, since it can be worked around, but definitely a nice thing to have. |
If the .gitattributes file resolves your issue @Dids, please close this issue at your leisure. :) |
Tested and verified working. :) |
This still seems to be an issue, or was the npm package never updated? |
Running muddler produces this error:
env: node\r: No such file or directory
This is due to
/usr/local/bin/muddle
(ormuddle.js
) having line endings in the DOS format. A similar issue can be seen here.The fix is to simply convert the line endings from DOS to unix, at which point it should be compatible across all platforms.
A long term solution to this might be a simple as adding a
.gitattributes
file that does the formatting on it's own, as seen here.The text was updated successfully, but these errors were encountered: