codepainter
codepainter copied to clipboard
More issues with line endings in NPM package
It would seem issue #14 is back in version 0.4.5. I'm running on OSX 10.11.5 with
› npm --version
2.14.4
› npm install -g codepainter
› codepainter --version
env: node\r: No such file or directory
However, when I follow the "fix" described in the previous issue, it works:
› cd /usr/local/lib/node_modules/codepainter
› find . -type f -print0 | xargs -0 dos2unix
› codepaint --version
0.4.5
Can confirm. Alternative workaround:
$ node $(which codepainter) --version
0.4.5