LandRover / StaffjoyV2

Staffjoy V2 - all microservices in a monorepo
MIT License
141 stars 53 forks source link

make dev fails Windows 10 #16

Open verbeckii opened 2 years ago

verbeckii commented 2 years ago

What environment did you encounter the issue in?

development

What did you do?

I'm trying to first visit install-test Staffjoy

  1. Installed VirtualBox
  2. Installed Vagrant
  3. Installed Vagrant plugins vagrant plugin install vagrant-hostmanager and vagrant plugin install vagrant-disksize
  4. Installed Go and modd
  5. Made gitclone to my folder
  6. Inside got cloned run vagrant up
  7. Seems like everything is good (no error) and run vagrant ssh
  8. run make dev and got an error

What did you expect to see?

I expected to see something working build

What did you see instead?

I got this error right after run make dev

vagrant@staffjoy-v2:~/golang/src/v2.staffjoy.com$ make dev
bash vagrant/dev-watch.sh
vagrant/dev-watch.sh: line 2: $'\r': command not found
: invalid optionh.sh: line 3: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
vagrant/dev-watch.sh: line 4: $'\r': command not found
vagrant/dev-watch.sh: line 24: syntax error: unexpected end of file
make: *** [makefile:51: dev] Error 2
verbeckii commented 2 years ago

It seems like my issue relate to https://github.com/LandRover/StaffjoyV2/issues/14#issuecomment-969993214