Running vagrant up for the first time gives the following error:
Composer could not find a composer.json file in /srv/www/nyheter.test/current
To initialize a project, please create a composer.json file as described in
the https://getcomposer.org/ "Getting Started" section
failed: [default] (item=nyheter.test) => {"changed": false, "item": "nyheter.test", "stdout": "Composer could not find a composer.json file in /srv/www/nyheter.test/current\nTo initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section\n", "stdout_lines": ["Composer could not find a composer.json file in /srv/www/nyheter.test/current", "To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section"]}
This seems to be a issue with vagrant host manager / bindfs. The current solution is to update these plugins by running vagrant plugin update, followed by vagrant destroy and another vagrant up.
Running
vagrant up
for the first time gives the following error:This seems to be a issue with vagrant host manager / bindfs. The current solution is to update these plugins by running
vagrant plugin update
, followed byvagrant destroy
and anothervagrant up
.