Git Product home page Git Product logo

composer-patcher's People

Contributors

adragus-inviqa avatar jamescowie avatar nevvermind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

composer-patcher's Issues

Error: /app/etc/ must exist

I'm getting the following error from the shell file when installing patches using composer update - it seems to be not correctly moving the scripts or picking up the magento directory specified in the composer extras:

Fetching patch patches-1911/magento-supee-5344
Error applying patch patches-1911/magento-supee-5344:
The command "sh '/project/http/mage_shell_patch.sh'" failed.
Exit Code: 1(General error)

Output:
================
ERROR: "/project/app/etc/" must exist for proper tool work.


Error Output:
================

Relevant composer.json config:

{
    "scripts" : {
        "post-install-cmd": [
            "modman deploy-all --force",
            "Inviqa\\Command::patch"
        ],
        "post-update-cmd": [
            "modman deploy-all --force",
            "Inviqa\\Command::patch"
        ]
    },
    "extra":{
        "magento-root-dir": "http",
        "patches": {
            "patches-1911": {
                "magento-supee-5344": {
                    "type": "shell",
                    "title": "Magento SUPEE-5344",
                    "url": "https://raw.githubusercontent.com/brentwpeterson/magento-patches/master/CE1.9-EE1.14/PATCH_SUPEE-5344_EE_1.14.1.0_v1-2015-02-10-04-20-13.sh"
                },
                "magento-supee-5994": {
                    "type": "shell",
                    "title": "Magento SUPEE-5994",
                    "url": "https://raw.githubusercontent.com/brentwpeterson/magento-patches/master/CE1.9-EE1.14/PATCH_SUPEE-5994_EE_1.14.1.0_v1-2015-05-14-05-05-02.sh"
                }
            }
        }
    }
}

Magento 2.2.5. Symfony error

When upgrading to Magento 2.2.5. the module will not upgrade because it is reliant on symfony/console 2.6

Console output when trying to run composer upgrade :

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

Problem 1
- Conclusion: don't install jamescowie/composer-patcher dev-master
- Conclusion: remove symfony/console v2.8.42
- Installation request for jamescowie/composer-patcher dev-master -> satisfiable by jamescowie/composer-patcher[dev-master].
- Conclusion: don't install symfony/console v2.8.42
- jamescowie/composer-patcher dev-master requires symfony/console 2.6.* -> satisfiable by symfony/console[v2.6.0, v2.6.0-BETA1, v2.6.0-BETA2, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9].
- Can only install one of: symfony/console[v2.6.0, v2.8.42].
- Can only install one of: symfony/console[v2.6.0-BETA1, v2.8.42].
- Can only install one of: symfony/console[v2.6.0-BETA2, v2.8.42].
- Can only install one of: symfony/console[v2.6.1, v2.8.42].
- Can only install one of: symfony/console[v2.6.10, v2.8.42].
- Can only install one of: symfony/console[v2.6.11, v2.8.42].
- Can only install one of: symfony/console[v2.6.12, v2.8.42].
- Can only install one of: symfony/console[v2.6.13, v2.8.42].
- Can only install one of: symfony/console[v2.6.2, v2.8.42].
- Can only install one of: symfony/console[v2.6.3, v2.8.42].
- Can only install one of: symfony/console[v2.6.4, v2.8.42].
- Can only install one of: symfony/console[v2.6.5, v2.8.42].
- Can only install one of: symfony/console[v2.6.6, v2.8.42].
- Can only install one of: symfony/console[v2.6.7, v2.8.42].
- Can only install one of: symfony/console[v2.6.8, v2.8.42].
- Can only install one of: symfony/console[v2.6.9, v2.8.42].
- Installation request for symfony/console (locked at v2.8.42) -> satisfiable by symfony/console[v2.8.42].

Installation failed, reverting ./composer.json to its original content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.