【发布时间】:2018-09-05 07:50:34
【问题描述】:
我正在将我的网站从 Drupal 7 升级到 8,我的任务之一是确保复制并安装所有模块。
我已经能够安装除结帐之外的所有“商务”模块。
由于未满足依赖关系,无法安装 Commerce Checkout: core.entity_view_display.commerce_product_variation.default.summary (commerce_product.commerce_product_variation_type.default)
这个问题在这里被问及回答:Can't install drupal 8 commerce checkout module
但是,它对我没有帮助,因为我已经使用 Composer 安装了商务模块,但我仍然无法启用它。
$ composer require drupal/commerce
Using version ^2.5 for drupal/commerce
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess
$ composer require drupal/commerce_checkout
Using version ^2.5 for drupal/commerce_checkout
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess
$ composer require drupal/commerce_product
Using version ^2.5 for drupal/commerce_product
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess
感谢您提供的任何解决方案,并期待与您进一步讨论此问题。
谢谢!
【问题讨论】:
标签: drupal composer-php drupal-modules drupal-8 drupal-commerce