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

Windows \r\n #31

Closed
rdrey opened this issue Nov 4, 2012 · 2 comments
Closed

Windows \r\n #31

rdrey opened this issue Nov 4, 2012 · 2 comments

Comments

@rdrey
Copy link
Contributor

rdrey commented Nov 4, 2012

Hi @sokra

Nice work on this. :)

One minor issue that is easy to fix: When I run webpack the hashbang #!/usr/bin/env node fails, since your editor saved it with \r\n.

The actual error: env: node\r: No such file or directory

If I open it with my editor, set the line endings to Unix and save it, it works fine. :) Please set your editor to use Unix line endings, too.

Apparently this can also be set with git: evocateur/yui-configger@ecdc0a1 But I think you'll still have to re-commit the bin/webpack file manually.

Thanks a lot!

sokra added a commit that referenced this issue Nov 5, 2012
@sokra
Copy link
Member

sokra commented Nov 5, 2012

I think it's correct in the repo, but maybe wrong in the npm registry. I republished it at 0.7.13 with (hopefully correct line endings)

@rdrey
Copy link
Contributor Author

rdrey commented Nov 5, 2012

Cool, I'll try this when I get home later! Thanks!

@rdrey rdrey closed this as completed Nov 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants