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

CLI not usable under Unix #511

Closed
vanthome opened this issue Dec 1, 2016 · 3 comments
Closed

CLI not usable under Unix #511

vanthome opened this issue Dec 1, 2016 · 3 comments
Labels

Comments

@vanthome
Copy link

vanthome commented Dec 1, 2016

The line endings of the bin/pbjs.js are CRLF while they should be LF.
It leads to an error message /usr/bin/env: „node\r“: .... when you invoke the CLI.
This is for example discussed here: nwutils/nw-builder#75.

@vanthome
Copy link
Author

vanthome commented Dec 1, 2016

That's weird, the code is correctly formatted with LF but all code published on NPM is not.
I suspect that you checked out on windows and then published with CRLF.
There is also a discussion here about this:
npm/npm#2097
To fix it, you need to increment the version and publish it again.

@dcodeIO dcodeIO added the bug label Dec 1, 2016
@gaccob
Copy link

gaccob commented Dec 1, 2016

I got the same problem now, expecting this bug to be fixed :)

@dcodeIO dcodeIO closed this as completed in 6e5fdb6 Dec 1, 2016
@dcodeIO
Copy link
Member

dcodeIO commented Dec 1, 2016

Noooo that bug again. Fixed.

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