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
Bad line ending breaks barrelsby usage when running on Linux. #34
Comments
Hi @nozzlegear thanks for the bug report. I think I've got a fix ( I am trying to confirm whether this change will be passed through NPM ( Possibly I might publish a beta version and see if that resolves the problem on your linux machine. |
I have published a beta version (0.0.5) which seems to be giving As an aside, I notice that you have the Do you think the |
Looks like it's working now in 0.0.5! I was able to install and run with no problems on Ubuntu. Regarding the |
A bit late but this is available now in a non-beta version (0.0.8) |
Hey, I've been having this problem for a while.
barrelsby
will break any build process that uses it on Linux due to bad line endings on#! /usr/bin/env node
inbarrelsby/bin/index.js
:I can get around this by installing the dos2unix on my Linux distro, which takes a file and converts its line endings to a unix format. After installing that I can run
dos2unix node_modules/barrelsby/bin/index.js
before runningbarrelsby
, which fixes the problem but it'd be better if it was fixed in the package itself.The text was updated successfully, but these errors were encountered: