codepainter icon indicating copy to clipboard operation
codepainter copied to clipboard

More issues with line endings in NPM package

Open dyoung522 opened this issue 9 years ago • 1 comments

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

dyoung522 avatar Jul 21 '16 16:07 dyoung522

Can confirm. Alternative workaround:

$ node $(which codepainter) --version
0.4.5

lennartcl avatar Oct 04 '16 18:10 lennartcl