Riaron: Комментарии

Главные вкладки

22 февраля 2023 в 14:12

при вводе composer require "drupal/commerce 2.x-dev" выдает следующее

Problem 1
- drupal/commerce dev-2.x requires drupal/inline_entity_form ^1.0@RC -> found drupal/inline_entity_form[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.
- drupal/commerce 2.x-dev is an alias of drupal/commerce dev-2.x and thus requires it to be installed too.
- Root composer.json requires drupal/commerce 2.x-dev -> satisfiable by drupal/commerce[2.x-dev (alias of dev-2.x)].

22 февраля 2023 в 13:51

index.php drupal 10 находится в папке web
при вызове вашей каманы с папки web выдает:
C:\OSPanel\domains\mysite1.local\web> composer req drupal/commerce\
No composer.json in current directory, do you want to use the one at C:\OSPanel\domains\mysite1.local? [Y,n]? y
Always want to use the parent dir? Use "composer config --global use-parent-dir true" to change the default.

In PackageDiscoveryTrait.php line 361:

Could not find package drupal/commerce\.

18 сентября 2019 в 23:37

теперь ругается на другое (причем и до этого и сейчас orders сохраняется но без ссылки и юзера)
Recoverable fatal error: Object of class Drupal\Core\Url could not be converted to string в drupal_schema_get_field_value() (строка 229