Results 1 to 3 of 3

Thread: How do I install metamodel

  1. #1

    Default How do I install metamodel

    I have read here
    http://metamodels.readthedocs.io/en/...l/install.html

    done this
    $ composer require metamodels/bundle_all

    but I got this
    Code:
    Using version ^2.0 for metamodels/bundle_all
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - metamodels/bundle_attributes 2.0.1 requires metamodels/attribute_combinedvalues ~2.0 -> satisfiable by metamodels/attribute_combinedvalues[2.0.0-alpha1, 2.1.x-dev, 2.0.x-dev] but these conflict with your requirements or minimum-stability.
        - metamodels/bundle_attributes 2.0.0 requires metamodels/attribute_combinedvalues ~2.0 -> satisfiable by metamodels/attribute_combinedvalues[2.0.0-alpha1, 2.1.x-dev, 2.0.x-dev] but these conflict with your requirements or minimum-stability.
        - metamodels/bundle_all 2.0.0 requires metamodels/bundle_attributes ~2.0 -> satisfiable by metamodels/bundle_attributes[2.0.0, 2.0.1].
        - Installation request for metamodels/bundle_all ^2.0 -> satisfiable by metamodels/bundle_all[2.0.0].
    
    
    Installation failed, reverting ./composer.json to its original content.
    It should install right? Where is the pit?
    OM MANI PEME HUNG! how many has to die for freedom and dignity. Save this world

  2. #2
    New user
    Join Date
    12-22-15.
    Posts
    4

    Default

    You have to change your minimum stability to "dev", since some attributes are still tagged as alpha versions (even tough they are quite stable imho). You can edit your compose.json directly or change your settings via backend, go to "package management" -> "setttings". So your composer/composer.json (not the one in TL_ROOT) should look like this:

    Code:
    {
        "name": "local/website",
        "description": "A local website project",
        "type": "project",
        "license": "proprietary",
        "require": {
            "contao-community-alliance/composer-client": "~0.12",
            "metamodels/bundle_all": ">=2.0.0.0,<2.1-dev",
            ...
        },
        "prefer-stable": true,
        "minimum-stability": "dev",
        "config": {
            "preferred-install": "auto",
            "cache-dir": "cache",
            "component-dir": "../assets/components",
            "discard-changes": true
        },
        "repositories": [
            {
                "type": "composer",
                "url": "https://legacy-packages-via.contao-community-alliance.org/"
            },
            {
                "type": "artifact",
                "url": "packages"
            }
        ],
        "extra": {
            "contao": {
                "migrated": "done"
            }
        }
    }

  3. #3

    Default

    Thank you
    Last edited by tsarma; 12/05/2016 at 10:41.
    OM MANI PEME HUNG! how many has to die for freedom and dignity. Save this world

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •