When I run vagrant up, I get:
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
The error above this is:
non-zero return code
Changed current directory to /root/.composer
Do not run Composer as root/super user! See https://getcomposer.org/root for
details
[RuntimeException]
No composer.json present in the current directory (./composer.json), this
may be the cause of the following exception.
[InvalidArgumentException]
Package hirak/prestissimo at version @stable has a PHP requirement
incompatible with your PHP version, PHP extensions and Composer version
require [âdev] [âdry-run] [âprefer-source] [âprefer-dist] [âfixed]
[âno-suggest] [âno-progress] [âno-update] [âno-install] [âno-scripts]
[âupdate-no-dev] [-w|âupdate-with-dependencies] [-W|âupdate-with-all-
dependencies] [âwith-dependencies] [âwith-all-dependencies] [âignore-
platform-req IGNORE-PLATFORM-REQ] [âignore-platform-reqs] [âprefer-stable]
[âprefer-lowest] [âsort-packages] [-o|âoptimize-autoloader]
[-a|âclassmap-authoritative] [âapcu-autoloader] [âapcu-autoloader-prefix
APCU-AUTOLOADER-PREFIX] [â] []âŚ
failed: [default] (item={ânameâ: âhirak/prestissimoâ}) => {âansible_loop_varâ: âitemâ, âchangedâ: true, âcmdâ: ["/usr/local/bin/composer", âglobalâ, ârequireâ, âhirak/prestissimo:@stableâ, ââno-progressâ, ââno-interactionâ], âdeltaâ: â0:00:00.363185â, âendâ: â2021-02-19 21:56:12.424227â, âitemâ: {ânameâ: âhirak/prestissimoâ}, ârcâ: 1, âstartâ: â2021-02-19 21:56:12.061042â, âstderr_linesâ: [âChanged current directory to /root/.composerâ, âDo not run Composer as root/super user! See https://getcomposer.org/root for detailsâ, ââ, " ", " [RuntimeException] ", " No composer.json present in the current directory (./composer.json), this may be the cause of the following exception. ", " ", ââ, " ", " [InvalidArgumentException] ", " Package hirak/prestissimo at version @stable has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version ", " ", ââ, ârequire [âdev] [âdry-run] [âprefer-source] [âprefer-dist] [âfixed] [âno-suggest] [âno-progress] [âno-update] [âno-install] [âno-scripts] [âupdate-no-dev] [-w|âupdate-with-dependencies] [-W|âupdate-with-all-dependencies] [âwith-dependencies] [âwith-all-dependencies] [âignore-platform-req IGNORE-PLATFORM-REQ] [âignore-platform-reqs] [âprefer-stable] [âprefer-lowest] [âsort-packages] [-o|âoptimize-autoloader] [-a|âclassmap-authoritative] [âapcu-autoloader] [âapcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [â] []âŚâ], âstdoutâ: ââ, âstdout_linesâ: []}
Iâm not quite sure what version of php is need or if changing that version is even the issue. Iâm a newbie to this whole setup.