Skip to content
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

Problem with line breaks #6

Closed
leogermani opened this issue Jul 14, 2017 · 8 comments
Closed

Problem with line breaks #6

leogermani opened this issue Jul 14, 2017 · 8 comments
Labels

Comments

@leogermani
Copy link

Hi,

Trying to use this module here and get the following error when I call the command via CLI

env: node\r: No such file or directory

Ive found another module that had the same issue but I could not solve it using the methods described there: nwutils/nw-builder#75

I never coded a npm module before so I dont know where to start to look to fix it...

Hope you have time to look into it

thanks

@leogermani
Copy link
Author

Im on a linux machive (ubuntu) by the way

@leogermani
Copy link
Author

I also tried what is described in #5

both on /usr/local/bin/githubCsvTools and /usr/local/lib/node_modules/github-csv-tools/index.js

@gavinr
Copy link
Owner

gavinr commented Jul 14, 2017

Thanks for the report @leogermani! Will try to take a look shortly.

@gavinr gavinr added the bug label Jul 20, 2017
@campaignupgrade
Copy link

campaignupgrade commented Jul 21, 2017

Ditto here on MacOS 10.12.05.

env: node\r: No such file or directory

A workaround is to launch the file with an env node call:

env node github-csv-tools

However I get errors doing this, probably due to an outdated node, so I'm updating node now (which is another set a issues and errors).

@campaignupgrade
Copy link

fixed with:

brew install dos2unix

sudo dos2unix /usr/local/lib/node_modules/github-csv-tools/index.js

now githubCsvTools --help works correctly.

@tflogic
Copy link

tflogic commented Dec 14, 2017

on linux(ubuntu)

sudo apt install dos2unix
sudo dos2unix /usr/local/lib/node_modules/github-csv-tools/index.js

@gavinr
Copy link
Owner

gavinr commented Dec 22, 2017

@tflogic @slamorte @leogermani I have re-published v0.3.0 with unix-style line breaks instead of windows - can you please remove/reinstall and let me know if that helps?

@campaignupgrade
Copy link

Thanks Gavinr! This script has been an awesome resource for me.

Probably can't test it for a few weeks though, because holidays. =)

@gavinr gavinr closed this as completed May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants