1
resposta

[Bug] ERRO AO INSTALLAR AS DEPENDENCIAS

Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1

- phar-io/manifest is locked to version 1.0.3 and an update of this package was not requested.
- phar-io/manifest 1.0.3 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.

Problem 2

- phpunit/php-code-coverage is locked to version 7.0.3 and an update of this package was not requested.
- phpunit/php-code-coverage 7.0.3 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.

Problem 3

- phpunit/phpunit is locked to version 8.1.5 and an update of this package was not requested.
- phpunit/phpunit 8.1.5 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.

Problem 4

- theseer/tokenizer is locked to version 1.1.2 and an update of this package was not requested.
- theseer/tokenizer 1.1.2 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.

To enable extensions, verify that they are enabled in your .ini files:

- /etc/php/7.3/cli/php.ini
- /etc/php/7.3/cli/conf.d/10-opcache.ini
- /etc/php/7.3/cli/conf.d/10-pdo.ini
- /etc/php/7.3/cli/conf.d/20-calendar.ini
- /etc/php/7.3/cli/conf.d/20-ctype.ini
- /etc/php/7.3/cli/conf.d/20-exif.ini
- /etc/php/7.3/cli/conf.d/20-fileinfo.ini
- /etc/php/7.3/cli/conf.d/20-ftp.ini
- /etc/php/7.3/cli/conf.d/20-gettext.ini
- /etc/php/7.3/cli/conf.d/20-iconv.ini
- /etc/php/7.3/cli/conf.d/20-json.ini
- /etc/php/7.3/cli/conf.d/20-phar.ini
- /etc/php/7.3/cli/conf.d/20-posix.ini
- /etc/php/7.3/cli/conf.d/20-readline.ini
- /etc/php/7.3/cli/conf.d/20-shmop.ini
- /etc/php/7.3/cli/conf.d/20-sockets.ini
- /etc/php/7.3/cli/conf.d/20-sysvmsg.ini
1 resposta

Você precisa ter a extensão dom instalada e habilitada.