バージョン選択

フォーラム

メニュー

オンライン状況

44 人のユーザが現在オンラインです。 (31 人のユーザが フォーラム を参照しています。)
登録ユーザ: 1
ゲスト: 43
exwindows もっと...

サイト内検索

その他 > その他 > E2E テスト実行環境

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
seasoft
投稿日時: 2024/2/27 12:15
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7367
Re: E2E テスト実行環境
PHP エラー出てました。
$ docker-compose exec ec-cube php -ddisplay_errors=1 data/vendor/bin/eccube

Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Cannot autowire service "Eccube2\Command\Install\InsertDataCommand": argument "$eventDispatcher" of method "__construct()" references interface "Symfony\Component\EventDispatcher\EventDispatcherInterface" but no such service exists. You should maybe alias this interface to the existing "event_dispatcher" service. in /var/www/app/data/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php:54
Stack trace:
#0 /var/www/app/data/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php(83): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Object(Symfony\Component\DependencyInjection\Definition), true)
#1 /var/www/app/data/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php(32): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, true)
#2 /var/www/app/data/vendor/symfony/dependency-injection/Compiler/Ab in /var/www/app/data/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php on line 54


Composer の依存関係でしょうか。
以下のように構成しています。
git restore composer.*
docker-compose exec ec-cube sh -c 'rm -r data/vendor/*'
docker-compose exec ec-cube composer config --unset platform.php
docker-compose exec ec-cube composer install
docker-compose exec ec-cube composer require symfony/yaml:^4.0
docker-compose exec ec-cube composer require ec-cube2/cli

$ docker-compose exec ec-cube php -v
PHP 7.4.33 (cli) (built: Nov 15 2022 06:03:30) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
    with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans



----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   E2E テスト実行環境 seasoft 2024/1/27 18:44
     Re: E2E テスト実行環境の Node.js バージョン seasoft 2024/1/28 2:50
     Re: E2E テスト実行環境 seasoft 2024/1/28 16:48
       Re: E2E テスト実行環境 seasoft 2024/1/28 16:55
         Re: E2E テスト実行環境 nanasess 2024/2/2 10:48
           Re: E2E テスト実行環境 seasoft 2024/2/5 2:11
           Re: E2E テスト実行環境 seasoft 2024/2/21 10:58
             Re: E2E テスト実行環境 seasoft 2024/2/21 13:47
             Re: E2E テスト実行環境 nanasess 2024/2/21 17:41
               Re: E2E テスト実行環境 seasoft 2024/2/21 20:30
                 Re: E2E テスト実行環境 seasoft 2024/2/26 15:46
                   Re: E2E テスト実行環境 nanasess 2024/2/26 16:07
                   » Re: E2E テスト実行環境 seasoft 2024/2/27 12:15
                       Re: E2E テスト実行環境 seasoft 2024/3/2 12:22
                   Re: E2E テスト実行環境 seasoft 2024/3/28 13:33
                     Re: E2E テスト実行環境 nanasess 2024/4/9 1:23
                       Re: E2E テスト実行環境 seasoft 2024/4/9 20:35
                         Re: E2E テスト実行環境 nanasess 2024/4/9 23:11
                           Re: E2E テスト実行環境 seasoft 2024/4/10 11:55
                             Re: E2E テスト実行環境 nanasess 2024/4/10 12:16
                             Re: E2E テスト実行環境 nanasess 2024/4/19 0:42

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は89,424名です
総投稿数は110,086件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1652
8
red
1570
9
mcontact
1305
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.