RegionHalland / wordpress-boilerplate

Boilerplate Wordpress setup based on Trellis and Bedrock
0 stars 0 forks source link

Composer could not find a composer.json file in /srv/www/... #3

Open davidohlin opened 6 years ago

davidohlin commented 6 years ago

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.