Syntax error in Vagrantfile prohibits successful start Trellis

Hi. First dive in Trellis. I am following the steps outlined by Dave Kiss: https://davekiss.com/develop-wordpress-sites-like-a-goddamn-champion/
I’m stuck on vagrant up: the terminal gives the following error:
There is a syntax error in the following Vagrantfile. The syntax error message is reproduced below for convenience: /Users/arwen/Sites/silbersee/trellis/lib/trellis/config.rb:15: syntax error, unexpected '.' site['multisite']&.fetch('enabled', false) && si... /Users/arwen/Sites/silbersee/trellis/lib/trellis/config.rb:15: syntax error, unexpected '.' ..., false) && site['multisite']&.fetch('subdomains', false)...

Checked the versions of used components:
ansible 2.2.1.0
composer 1.3.2
vagrant 1.8.6
virtual box 5.1.28

folder structure:
rootfolder, with folders site and trellis side by side.

Looks like you just recently got Trellis within the past hour…

That was a temporary bug which I just fixed in https://github.com/roots/trellis/commit/cff773e07bdeff6a66c382df18e3e9fa68c93219.

You can pull the latest commits to fix it. Sorry about that :slight_smile:

1 Like

Whoah. Indeed. Since some time interested but never got into it. Talking about bad luck :slight_smile: You’re answer is quick. Thanks. Can i just git clone git@github.com:roots/trellis.git trellis again, or… getting my feet wet with WordPress & git so sorry for asking

Yeah, if you haven’t made any modifications (or don’t mind making them again).