この商品に対するお客様の声
west1 さん
- 2026/04/10
- ★★★★★
- 1.0.3
- 4.3.0
xserverでEC-CUBE4.3をインストールしています。
stripeのプラグインのインストールをしようとしましたが、途中でエラーが出てストップします。エラー内容は、以下の通りです。対処方法等、ありますでしょうか? ログは文字数の関係で途中までです。
**************** StripePayment43 ****************
<warning>A script named compile would override a Composer command and has been skipped</warning>
<warning>A script named auto-scripts would override a Composer command and has been skipped</warning>
<warning>A script named installer-scripts would override a Composer command and has been skipped</warning>
[6.7MiB/4.61s] ./composer.json has been updated
[8.1MiB/4.72s] Running composer update ec-cube/stripepayment43 --with-dependencies
[11.1MiB/4.83s] Loading composer repositories with package information
[12.0MiB/9.24s] <warning>Dependency ec-cube/plugin-installer is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.</warning>
[12.3MiB/9.74s] Updating dependencies
[14.2MiB/9.86s] Your requirements could not be resolved to an installable set of packages.
[14.2MiB/9.86s]
Problem 1
- lcobucci/clock 3.0.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.21; overridden via config.platform, same as actual) does not satisfy that requirement.
- league/oauth2-server-bundle v0.5.0 requires league/oauth2-server ^8.3 -> satisfiable by league/oauth2-server[8.5.4].
- ec-cube/api42 4.3.1 requires league/oauth2-server-bundle ^0.5 -> satisfiable by league/oauth2-server-bundle[v0.5.0].
- league/oauth2-server 8.5.4 requires lcobucci/clock ^2.2 || ^3.0 -> satisfiable by lcobucci/clock[3.0.0].
- ec-cube/api42 is locked to version 4.3.1 and an update of this package was not requested.
[14.2MiB/9.86s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[13.1MiB/9.86s] You can also try re-running composer require with an explicit version constraint, e.g. "composer require ec-cube/StripePayment43:*" to figure out if any version is installable, or "composer require ec-cube/StripePayment43:^2.1" if you know which you need.
[13.1MiB/9.86s]
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[13.1MiB/9.86s] Memory usage: 13.09MiB (peak: 14.61MiB), time: 9.86s
EC-CUBEからの返信
今回のエラーは、Stripeプラグイン自体の問題ではなく、
現在のシステム内に既にインストールされていると思われる
「EC-CUBE Web API(ec-cube/api42)」プラグインの依存関係に起因するものと思われます。
具体的には、「EC-CUBE Web API(バージョン4.3.1)」が内部で利用しているライブラリが、
Stripeプラグインのインストール時に依存関係の再チェックが行われたことで、
依存ライブラリの不整合が発生したと思われます。
通常の運用では既存の構成がそのまま利用されるため問題は発生しませんが、
新しいプラグインを追加する際には依存関係の再解決が行われるため、
今回のように既存のライブラリとの互換性の問題が表面化することがあります。
EC-CUBE Web APIのバージョンを最新の4.3.2にバージョンアップいただき、
その後、Stripeプラグインのインストールを実施頂けますでしょうか。
上記でも解決しなかった場合には、
下記お問い合わせフォームよりご連絡いただけますと幸いです。
https://www.ec-cube.net/contact/
またその際には、下記マニュアルの
「問い合わせ時にご提出いただきたい情報」を添えて
ご連絡いただけますと幸いです。
https://www.ec-cube.net/upload/manual_file/04081351_69d5deb5eaea3.pdf
