devfake/flox

Composer Install Missing Dependencies

jhollowe opened this issue · 2 comments

After cloning this repo and making sure all packages are up-to-date, I run composer install in the flox/backend/ directory. The install fails with the following error.
It seems like there are missing dependencies that should probably be added to the install instructions. I'm trying to spin this up on a new container, so I'm starting from scratch, dependency-wise.

flox-host:/opt/flox/backend# composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for nikic/php-parser v2.1.1 -> satisfiable by nikic/php-parser[v2.1.1].
    - nikic/php-parser v2.1.1 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
  Problem 2
    - Installation request for phpunit/php-token-stream 1.4.8 -> satisfiable by phpunit/php-token-stream[1.4.8].
    - phpunit/php-token-stream 1.4.8 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
  Problem 3
    - Installation request for phpunit/phpunit 5.6.1 -> satisfiable by phpunit/phpunit[5.6.1].
    - phpunit/phpunit 5.6.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
  Problem 4
    - nikic/php-parser v2.1.1 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - psy/psysh v0.7.2 requires nikic/php-parser ^1.2.1|~2.0 -> satisfiable by nikic/php-parser[v2.1.1].
    - Installation request for psy/psysh v0.7.2 -> satisfiable by psy/psysh[v0.7.2].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php7/php.ini
    - /etc/php7/conf.d/00_iconv.ini
    - /etc/php7/conf.d/00_json.ini
    - /etc/php7/conf.d/00_mbstring.ini
    - /etc/php7/conf.d/00_openssl.ini
    - /etc/php7/conf.d/01_phar.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Sorry, didn't see your issue :/

Did you solve the problem? The server requirements are coming directly from Laravel https://laravel.com/docs/5.7#server-requirements

It was just missing dependencies. I updated the README install instructions with what got it working for me. See #116