Transcoder 플러그인을 설치할 수 없습니다.

Nov 06 2020

여기에 게시해야할지 Github 문제로 게시해야하는지 확실하지 않지만 NY Studio의 Transcoder 플러그인 을 설치하려고 하면 다음과 같은 결과가 나타납니다.

Composer 출력 : 업데이트를 위해 나열된 패키지 "craftcms / vue-asset"이 설치되지 않았습니다. 묵살. 업데이트 용으로 나열된 패키지 "yiisoft / yii2-shell"이 설치되지 않았습니다. 묵살. 패키지 정보가있는 작성기 저장소로드 종속성 업데이트 설치 가능한 패키지 세트로 요구 사항을 분석 할 수 없습니다.

문제 1

요청 된 패키지 nystudio107 / craft-seomatic (3.3.17에서 잠금, ^ 3.3.18로 필요)은 nystudio107 / craft-seomatic [3.3.17]에서 만족할 수 있지만 이는 사용자의 요구 사항 또는 최소 안정성과 충돌합니다.

--no-dev로 업데이트를 실행한다고해서 require-dev가 무시된다는 의미가 아니라 패키지가 설치되지 않는다는 의미 일뿐입니다. 개발 요구 사항이 업데이트를 차단하는 경우 이러한 문제를 해결해야합니다.

composer.json은 다음과 같습니다.

{
  "require": {
    "barrelstrength/sprout-fields": "^3.8.3",
    "craftcms/cms": "^3.4.24",
    "craftcms/redactor": "^2.6.1",
    "dukt/analytics": "^4.0",
    "nystudio107/craft-seomatic": "3.3.18",
    "nystudio107/craft-typogrify": "^1.1",
    "ostark/craft-async-queue": "^1.3.3",
    "putyourlightson/craft-blitz": "^3.6.5",
    "topshelfcraft/wordsmith": "^3.2.0",
    "verbb/cp-nav": "^3.0.13.1",
    "verbb/field-manager": "^2.1.8",
    "vlucas/phpdotenv": "^2.4.0"
  },
  "autoload": {
    "psr-4": {
      "modules\\": "modules/",
      "modules\\exifReturn\\": "modules/"
    }
  },
  "config": {
    "sort-packages": true,
    "optimize-autoloader": true,
    "platform": {
      "php": "7.0"
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ]
  },
  "repositories": [
    { "type": "composer", "url": "https://packagist.phpcomposer.com"}
  ]
}

다른 사람이이 문제를 가지고 있었으며 어떻게 해결 했습니까?

답변

2 andrew.welch Nov 06 2020 at 08:47

다음과 같이 변경하십시오.

    "nystudio107/craft-seomatic": "^3.3.0",