这是我第一次vagrant up
在格子目录下运行时收到的错误消息:
TASK [wordpress-install : Install Dependencies with Composer] ******************
System info:
Ansible 2.9.0; Vagrant 2.2.6; Darwin
Trellis Head
---------------------------------------------------
Composer could not find a composer.json file in /srv/www/example.com/current
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section failed: [default] (item=example.com) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "example.com", "value": {"admin_email": "admin@example.test", "cache": {"enabled": false}, "local_path": "../site", "multisite": {"enabled": false}, "site_hosts": [{"canonical": "example.test", "redirects": ["www.example.test"]}], "ssl": {"enabled": false, "provider": "self-signed"}}}, "stdout": "Composer could not find a composer.json file in /srv/www/example.com/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/example.com/current", "To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ \"Getting Started\" section"]}
我该如何解决?在哪里可以找到适用于在 Mac 上进行本地开发的 Trellis、Bedrock 和 Sage 的正确 composer.json?
麦克卡特琳娜 (10.15.2)