Installation dependencies not met

Details

This topic applies to you only if you cloned the Magento 2 GitHub repository.

Errors similar to the following display when you run the Web Setup Wizard:

The Web Setup Wizard is being deprecated in Magento 2.3.6 and will be removed in Magento 2.4.0. After it is removed, you must use the command line to install or upgrade Magento.

1
2
3
Magento\Framework\Exception
 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`

[other errors]

Exception PHP Fatal error: Class ‘Magento\Framework\Stdlib\DateTime\TimezoneInterface’ not found in /var/www/magento2/app/bootstrap.php on line 56</pre>

1
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`
 Exception
 PHP Fatal error:  Class 'Magento\Framework\Stdlib\DateTime\TimezoneInterface' not found in /var/www/html/magento2/app/bootstrap.php on line 56

If the Web Setup Wizard stops, informs you that the installation is incomplete, but does not display an error in the console log, the likely cause is you did not run composer install from the <magento_root>/setup directory. The entire message is Installation is incomplete. Check the console log for errors before trying again.

Description

You must run composer install from both the <magento_root> and <magento_root>/setup directories before installer.

Suggestion

Run composer install from both of the preceding directories and try the installation again.