This is archived documentation for Magento v2.2 and is no longer supported. Go to the latest documentation.

Installation dependencies not met


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:

 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>

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

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.


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


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