如何将Magento升级到2.2.7(依赖关系可满足的错误)

时间:2018-12-23 22:22:57

标签: magento dependencies composer-php magento2

当我尝试使用作曲家将Magento从2.1.9升级到2.2.7时,它显示此错误:

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

  Problem 1
    - tinify/magento2 dev-master requires tinify/tinify >=1.5 ->     satisfiable by tinify/tinify[1.5.2, 1.5.0, 1.5.1].
    - tinify/magento2 dev-master requires tinify/tinify >=1.5 ->     satisfiable by tinify/tinify[1.5.2, 1.5.0, 1.5.1].
    - tinify/magento2 dev-master requires tinify/tinify >=1.5 ->     satisfiable by tinify/tinify[1.5.2, 1.5.0, 1.5.1].
    - tinify/tinify 1.5.2 requires lib-curl >=7.20.0 -> the requested     linked library curl has the wrong version installed or is missing from your     system, make sure to have the extension providing it.
    - tinify/tinify 1.5.2 requires lib-curl >=7.20.0 -> the requested     linked library curl has the wrong version installed or is missing from your     system, make sure to have the extension providing it.
    - tinify/tinify 1.5.1 requires lib-curl >=7.20.0 -> the requested     linked library curl has the wrong version installed or is missing from your     system, make sure to have the extension providing it.
    - tinify/tinify 1.5.0 requires lib-curl >=7.20.0 -> the requested     linked library curl has the wrong version installed or is missing from your     system, make sure to have the extension providing it.
    - Installation request for tinify/magento2 dev-master -> satisfiable by     tinify/magento2[dev-master].

我尝试编辑composer.json文件并从要求中删除tinify,即使我已经编辑composer.lock文件并将tinify版本从1.5更改为*,但仍然显示错误。
我也尝试使用--ignore-platform-reqs,但还是没有运气。

这是composer.json内容:

{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.1.2",
"license": [
    "OSL-3.0",
    "AFL-3.0"
],
"require": {
    "magento/product-community-edition": "2.2.7",
    "composer/composer": "@alpha",
    "magento/data-migration-tool": "2.2.7",
    "tinify/magento2": "dev-master",
    "mageplaza/magento-2-social-login": "^2.3",
    "magepal/magento2-gmailsmtpapp": "^1.4",
    "mageplaza/module-smtp": "^1.0"
},
"require-dev": {
    "phpunit/phpunit": "4.1.0",
    "squizlabs/php_codesniffer": "1.5.3",
    "phpmd/phpmd": "@stable",
    "pdepend/pdepend": "2.2.2",
    "fabpot/php-cs-fixer": "~1.2",
    "lusitanian/oauth": "~0.3 <=0.7.0",
    "sebastian/phpcpd": "2.0.0"
},
"config": {
    "use-include-path": true
},
"autoload": {
    "psr-4": {
        "Magento\\Framework\\": "lib/internal/Magento/Framework/",
        "Magento\\Setup\\": "setup/src/Magento/Setup/",
        "Magento\\": "app/code/Magento/"
    },
    "psr-0": {
        "": "app/code/"
    },
    "files": [
        "app/etc/NonComposerComponentRegistration.php"
    ]
},
"autoload-dev": {
    "psr-4": {
        "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
        "Magento\\Tools\\": "dev/tools/Magento/Tools/",
        "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
        "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
        "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
    }
},
"minimum-stability": "alpha",
"prefer-stable": true,
"repositories": {
    "0": {
        "type": "composer",
        "url": "https://repo.magento.com/"
    },
    "magento": {
        "type": "composer",
        "url": "https://repo.magento.com"
    },
    "tinify": {
        "type": "vcs",
        "url": "https://github.com/tinify/magento2-plugin"
    },
    "talv/magento2-wysiwyg-fix": {
        "type": "vcs",
        "url": "https://github.com/talv/magento2-wysiwyg-fix/"
    }
},
"extra": {
    "magento-force": "override"
}
}

0 个答案:

没有答案