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 Vagrant installation fails due to nix commands #31

Open
JeremyHLee opened this issue May 17, 2015 · 1 comment
Open

Windows Vagrant installation fails due to nix commands #31

JeremyHLee opened this issue May 17, 2015 · 1 comment

Comments

@JeremyHLee
Copy link

https://github.com/stealthly/scala-kafka
When I did the vagrant up command on Windows 8.1 with VirtualBox, Vagrant, and putty installed eventually the following error happens:
zookeeper: /vagrant/vagrant/kafka.sh: line 17: $'\r': command not found
: invalid signal specificationt/kafka.sh: line 19: trap: ERR
==> zookeeper: /vagrant/vagrant/kafka.sh: line 20: $'\r': command not found
==> zookeeper: /vagrant/vagrant/kafka.sh: line 21: syntax error near unexpected
token $'\r'' '=> zookeeper: /vagrant/vagrant/kafka.sh: line 21:founderror()

Probably most of the .sh files would cause the same. There are no bin/*.bat files
Is this vagrant setup meant for Windows? If not, maybe that should be called out.

@pszturmaj
Copy link

Set autocrlf to false in gitconfig before cloning the repo. This fixed it for me.

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