How to clone the Magento 2 GitHub repository and meet installation dependencies

- Fire development, Magento 2

Magento 2 export CLI

Users who clone the Magento 2 GitHub repository often face different errors running the Web Setup Wizard. Since they may differ a lot, there is always the same reason: installation dependencies are not met. Below, we provide a solution to fix the problem. You can find more useful tips here: Magento 2 Cookbook

'

The Issue

Below, we explore issues and solutions related to the cases when the Magento 2 GitHub repository was cloned.

One of the most common errors when you run the Web Setup Wizard but the installation dependencies are not met looks as follows:

You may face the following Exception PHP issues as well: 

You may also experience a situation when the Web Setup Wizard stops, informing you that the installation is incomplete. However, you don’t see an error in the console log.

The solution

The only way to solve the problem is to run composer install from the following directories:

  • <magento_root> 
  • <magento_root>/setup 

Do that before the installer.

Next, you can retry the installation.

For further information about the Composer installation, follow these links:

To find more information about the issue, go here: Installation dependencies not met.

'