Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincej's avatar
Level 15

Homestead Error

I am a total newb when it comes to Homestead. I am installing it on a windows machine and have got 3/4 through the install. When I do "Vagrant up", I get this error:

C:/Users/vince/Homestead/scripts/homestead.rb:198:in `[]=': string not matched (IndexError)

Does anyone know what this is about, and what I am doing wrong?

Many Thanks !

0 likes
2 replies
lostdreamer_nl's avatar

Open up that homestead.rb file, and check line 198. It should be something like:

 type = site["type"] ||= "laravel"

make sure it's like that, if not, please post the version of homestead you're trying to install.

1 like
vincej's avatar
Level 15

Thanks for your help. I have reinstalled and have it working .. well almost !

cheers !

Please or to participate in this conversation.