N
N
nathan1117772021-07-30 14:54:58
PHP
nathan111777, 2021-07-30 14:54:58

How to fix errors that occur when raising / installing a site using Docker?

You need to make a Drupal9 site by raising it on the docker. The TOR says that you need to raise the Drupal site using docker4drupal:
https://github.com/wodby/docker4drupal

1. I installed Docker Engine
2. Installed Docker Compose
3. Install Drupal following the instructions from the video: https://www.youtube. com/watch?v=aYb8C18HjmY&t and in the terminal at /var/www/html I write the following command:

composer create-project drupal-composer/drupal-project:9.x-dev some-dir --no-interaction

This command is in the repository description: https://github.com/drupal-composer/drupal-project

And I get the following errors:

You requirements could not be resolved to an installable set of packages.

Problem 1
- drush/drush[10.3.0, ..., 10.x-dev] require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
- Root composer.json requires drush/drush ^10.3 -> satisfiable by drush[10.3.0, ..., 10.x-dev].

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2021-07-30
@nathan111777

and what is not clear in require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension. ?
lan, I'll translate: there is not enough php-module DOM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question