バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

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

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
seasoft
投稿日時: 2024/3/2 12:22
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7367
Re: E2E テスト実行環境
PHP 8.1 も同様でした。
ただ、Exception が切れなくなりました。
$ 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/AbstractRecursivePass.php(47): Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue(Array, true)
#3 /var/www/app/data/vendor/symfony/dependency-injection/Compiler/Compiler.php(94): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#4 /var/www/app/data/vendor/symfony/dependency-injection/ContainerBuilder.php(762): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /var/www/app/data/vendor/ec-cube2/cli/src/Eccube2/Console/Application.php(33): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#6 /var/www/app/data/vendor/ec-cube2/cli/bin/eccube(9): Eccube2\Console\Application->__construct()
#7 /var/www/app/data/vendor/bin/eccube(119): include('/var/www/app/da...')
#8 {main}
  thrown in /var/www/app/data/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php on line 54


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 --ignore-platform-req=php
docker-compose exec ec-cube composer require ec-cube2/cli --ignore-platform-req=php
PHP 7 依存の解決が難しいため「--ignore-platform-req=php」を入れました。

$ docker-compose exec ec-cube php -v
PHP 8.1.27 (cli) (built: Feb  1 2024 02:59:09) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.27, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.27, Copyright (c), by Zend Technologies
$ git show --format='%H' --no-patch
1101e98ebc5520f4e89ce0d04f65fa2f5bfb986e


----------------
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,415名です
総投稿数は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.