B2B Adobe Commerce 2.4.6-p1 온프레미스에서 1.4.0 설치 실패

이 문서에서는 Adobe Commerce 2.4.6-p1 온-프레미스 문제에 대한 해결 방법을 제공합니다. B2B 버전 1.4.0 설치에 실패합니다.

영향을 받는 제품 및 버전

  • Adobe Commerce 2.4.6-p1 온-프레미스
  • B2B 버전 1.4.0
NOTE
B2B 버전 1.4.0이에 성공적으로 설치됨 Adobe Commerce Cloud 2.4.6-p1.

문제

재현 단계:

  1. Adobe Commerce 2.4.6-p1을 설치합니다.

    code language-terminal
    m2install.sh -s composer --ee -v 2.4.6-p1
    
  2. 설치 시도 B2B 버전 1.4.0.

    code language-terminal
    composer require magento/extension-b2b:1.4.0
    

예상 결과:

B2B 버전 1.4.0은 Adobe Commerce 2.4.6-p1에 성공적으로 설치됩니다.

실제 결과:

다음 오류가 발생하여 설치가 실패합니다.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires magento/extension-b2b 1.4.0 -> satisfiable by magento/extension-b2b[1.4.0].
    - magento/extension-b2b 1.4.0 requires magento/security-package-b2b 1.0.4-beta1 -> found magento/security-package-b2b[1.0.4-beta1] but it does not match your minimum-stability.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

해결 방법

을(를) 설치하거나 (으)로 업그레이드 B2B Adobe Commerce 2.4.6-p1의 버전 1.4.0에 대한 수동 종속성 추가 B2B 보안 패키지 안정성 태그.

  1. Adobe Commerce 설치 디렉토리에서 를 업데이트합니다. composer.json 필요한 종속성 포함:

    code language-terminal
    composer require magento/module-re-captcha-company=1.0.3-beta1@beta magento/security-package-b2b=1.0.4-beta1@beta
    

    명령 출력:

    code language-terminal
    Running composer update magento/module-re-captcha-company magento/security-package-b2b
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 2 installs, 0 updates, 0 removals
      - Locking magento/module-re-captcha-company (1.0.3-beta1)
      - Locking magento/security-package-b2b (1.0.4-beta1)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 2 installs, 0 updates, 0 removals
      - Downloading magento/module-re-captcha-company (1.0.3-beta1)
      - Installing magento/module-re-captcha-company (1.0.3-beta1): Extracting archive
      - Installing magento/security-package-b2b (1.0.4-beta1)
    1 package suggestions were added by new dependencies, use `composer suggest` to see details.
    Package sebastian/phpcpd is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    132 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found
    
  2. 업데이트 composer.json 추가하려면 B2B 버전 1.4.0.

    code language-terminal
    composer require magento/extension-b2b=1.4.0
    

    명령 출력:

    code language-terminal
    ./composer.json has been updated
    Running composer update magento/extension-b2b
    Loading composer repositories with package information
    Updating dependencies
    ...
    Generating autoload files
    132 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    No security vulnerability advisories found
    
  3. 설치 또는 업그레이드 프로세스를 완료합니다.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a