seangenabe / browserify-breakdown

break down and analyze browserify/browser-pack bundles
3 stars 0 forks source link

Mac support: Use unix line endings #5

Closed feross closed 7 years ago

feross commented 7 years ago
$ npm install -g browserify-breakdown
$ browserify-breakdown
env: node\r: No such file or directory

If you convert the line endings to unix style, then this will start working for users on non-Windows systems, I believe. If you google for the error message, you can see how others resolved it. For example: https://github.com/nwjs-community/nw-builder/issues/75

seangenabe commented 7 years ago

Apparently I do have .gitattributes set up properly but the binary still had crlf. I published 1.0.4 to npm with lf line endings.