Fre sh установка Trellis by Roots на Ma c и VituralBox отсутствует composer. json в / srv / www/example.com/current - PullRequest
0 голосов
/ 06 января 2020

Это сообщение об ошибке, которое я получил при первом запуске 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"]}

Как это исправить? Где найти право composer. json для Треллиса, Коренной породы и Мудреца для местного развития на Ма c?

Ма c Каталина (10.15.2)

1 Ответ

0 голосов
/ 06 января 2020

Хорошо, я наконец понял это. Вы должны предоставить полный доступ к диску (Настройки> Безопасность и конфиденциальность> Конфиденциальность) для / sbin / nfsd на MacOS Catalina.

...