无法安装<em class =“ placeholder”>闪电</em>模块,因为该模块不存在

时间:2019-07-08 06:37:03

标签: drupal-8

当我尝试安装Acquia BLT项目(命令:blt安装程序)时,在控制台中出现以下错误。

[error]  Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
Site UUID in source storage does not match the target storage.
Unable to install the <em class="placeholder">lightning</em> module since it does not exist. 
in Drupal\Core\Config\ConfigImporter->validate() (line 737 of 
/var/www/cmap/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php).

In ConfigImportCommands.php line 259:

The import failed due to the following reasons:
Site UUID in source storage does not match the target storage.
Unable to install the <em class="placeholder">lightning</em> module since it does not exist.

1 个答案:

答案 0 :(得分:0)

我希望您将Drupal VM用于BLT项目。由于缺少作曲家库,将发生此错误。请在您的终端中运行以下命令。

rm -rf docroot/modules/contrib
composer install
vagrant ssh
[now inside the VM]
blt setup