Running vagrant up in my trellis directory and everything goes fine until TASK [wordpress-install : Install Dependencies with Composer]
.
The task fails with the following error (full output from vagrant up
here):
Loading composer repositories with package information Installing
dependencies (including require-dev) from lock file Package operations: 11
installs, 0 updates, 0 removals - Installing roots/wordpress-core-installer
(1.1.0): Downloading (100%) Plugin installation failed, rolling back -
Removing roots/wordpress-core-installer (1.1.0) [ErrorException]
include(/srv/www/library.test/current/vendor/roots/wordpress-core-
installer/src/WordPressCorePlugin.php): failed to open stream: No such file
or directory install [--prefer-source] [--prefer-dist] [--dry-run] [--dev]
[--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-
progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a
|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--]
[<packages>]...
failed: [default] (item=library.test) => {"changed": false, "item": {"key": "library.test", "value":
{"admin_email": "admin@example.test", "cache": {"enabled": false}, "local_path": "../site", "multisite": {"enabled": false}, "site_hosts": [{"canonical": "library.test", "redirects": ["www.library.test"]}], "ssl": {"enabled": false, "provider": "self-signed"}}}, "stdout": "Loading composer repositories with package information\nInstalling dependencies (including require-dev) from lock file\nPackage operations: 11 installs, 0 updates, 0 removals\n - Installing roots/wordpress-core-installer (1.1.0):
Downloading (100%)\nPlugin installation failed, rolling back\n - Removing roots/wordpress-core-installer (1.1.0)\n\n
\n [ErrorException]
\n include(/srv/www/library.test/current/vendor/roots/wordpress-core-installer/src/WordPressCorePlugin.php): failed to open stream: No such file or directory \n
\n\ninstall [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...\n\n", "stdout_lines": ["Loading composer repositories with package information", "Installing dependencies (including require-dev) from lock file", "Package operations: 11 installs, 0 updates, 0 removals", " - Installing roots/wordpress-core-installer (1.1.0): Downloading (100%)", "Plugin installation failed, rolling back", " - Removing roots/wordpress-core-installer (1.1.0)", "", "
", "
[ErrorException]
", " include(/srv/www/library.test/current/vendor/roots/wordpress-core-installer/src/WordPressCorePlugin.php): failed to open stream: No such file or directory ", "
", "", "install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...", ""]}
I have been Googling and poking at this for multiple days now and there isn’t much on the web relating to this issue (that I could find). I have tried reprovisioning, vagrant destroy && vagrant up
, and cloning the wordpress-core-installer
repo into /srv/www/library.test/current/vendor/roots
manually, all with no improvement.
I’m on Windows 10. This is a pre-existing trellis+bedrock project that I had initially created and been developing on a Linux OS.
Any help is appreciated!