RuntimeException no composer.json present in current directory

Hi @JordanC26,

Thanks.

I now uncommented those two lines and ran vagrant up --provision and landed up with this error:

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, 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

First few lines of main.yml look like this:

composer_keep_updated: false

composer_global_packages:

- { name: hirak/prestissimo }

apt_cache_valid_time: 3600

apt_package_state: present

apt_security_package_state: latest

apt_dev_package_state: latest

ntp_timezone: Etc/UTC

ntp_manage_config: true

www_root: /srv/www

This is what you were saying right keeping these two lines in as is:

composer_global_packages:

    - { name: hirak/prestissimo }

Thanks,

TJ.