rattanak
rattanak

Reputation: 1508

Issue with running Vagrant in Homestead

I tried setting up a virtual machine using Homestead box. I followed documentation on Laravel site for setting up Homestead.

When I ran the command vagrant up, it seemed to work in setting a VM. Then it asked to run vagrant provision, which I did.

I can't get pass red text 'You are already using composer version 1.1.3 (stable channel)'. I don't know what to do next.

enter image description here

Update: here is Homestead.yaml file:

enter image description here

Upvotes: 3

Views: 3919

Answers (2)

Prashank
Prashank

Reputation: 796

Needed to edit the file at

~/.homestead/Homestead.yaml

instead of

~/Homestead/Homestead.yaml

after that reload it as usual

vagrant reload --provision

Upvotes: 1

Pyton
Pyton

Reputation: 1319

Add

~/.composer/vendor/bin

to Your PATH on host machine (not inside vm).

After restart terminal You can use homestead command.

Upvotes: 1

Related Questions