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.
Below, we explore issues and solutions related to the cases when
One of the most common errors when you run the Web Setup Wizard but the installation dependencies are not met looks as follows:
Command returned non-zero exit code:
`/usr/bin/php5 -f '/var/www/magento2/dev/shell/run_data_fixtures.php' -- --bootstrap='MAGE_DIRS[base][path]=/var/www/magento2' 2>&1`
Class ‘Magento\Framework\Stdlib\DateTime\TimezoneInterface’ not found in /var/www/magento2/app/bootstrap.php on line 56</pre>
Dependencies not installed. Please run 'composer install' under /setup directory.
Whoops, it looks like setup tool dependencies are not installed.
`/usr/bin/php -f '/var/www/html/magento2/dev/shell/run_data_fixtures.php' -- --bootstrap='MAGE_DIRS[base][path]=/var/www/html/magento2' 2>&1`
PHP Fatal error: Class 'Magento\Framework\Stdlib\DateTime\TimezoneInterface' not found in /var/www/html/magento2/app/bootstrap.php on line 56
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 only way to solve the problem is to run composer install from the following directories:
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: