hashicorp / otto-getting-started

The repository used for Otto getting started guide.
26 stars 25 forks source link

Syntax error under Windows #1

Open ndarilek opened 8 years ago

ndarilek commented 8 years ago

Not sure if here is the place to file this, but getting the following output with otto dev under Windows 10. Since it came up following the getting started guide, I'm reporting it in this project.

There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:

C:/users/nolan/src/otto-getting-started/.otto/compiled/app/dev/Vagrantfile:14: invalid Unicode escape
...  config.vm.synced_folder "C:\users\nolan\src\otto-getting-s...
...                               ^
C:/users/nolan/src/otto-getting-started/.otto/compiled/app/dev/Vagrantfile:23: invalid Unicode escape
...  config.vm.synced_folder "C:\users\nolan\src\otto-getting-s...
...                               ^
←[0m←[0m
←[0;31mError building dev environment: Error executing Vagrant: exit status 1

The error messages from Vagrant are usually very informative.
Please read it carefully and fix any issues it mentions. If
the message isn't clear, please report this to the Otto project.←[0m
fera2k commented 6 years ago

I had the same problem... seems to be caused by the \u char sequence.

EDIT: if you escape every backslash with two backslashes , it will work!