Composer install error

Support General Composer install error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24760
    MaxMMaxM
    Participant

    When i launch composer install
    i get:
    Installing wpackagist-plugin/mb-custom-post-type (dev-trunk): Checking out trunk
    Install of wpackagist-plugin/mb-custom-post-type failed
    - Installing wpackagist-plugin/mb-rest-api (dev-trunk): Checking out trunk
    Install of wpackagist-plugin/mb-rest-api failed
    - Installing wpackagist-plugin/meta-box (dev-trunk): Checking out trunk
    Install of wpackagist-plugin/meta-box failed
    - Installing wpackagist-plugin/meta-box-text-limiter (dev-trunk): Checking out trunk
    Install of wpackagist-plugin/meta-box-text-limiter failed

    My composer.json is:

    
    {
      "repositories":[
        {
          "type": "composer",
          "url": "https://wpackagist.org"
        },
        {
          "type": "composer",
          "url": "https://packages.metabox.io/XXXXX"
        }
      ],
      "require": {
        "wpackagist-plugin/meta-box": "dev-trunk",
        "wpackagist-plugin/mb-custom-post-type": "dev-trunk",
        "wpackagist-plugin/mb-relationships": "^1.3",
        "wpackagist-plugin/mb-rest-api": "dev-trunk",
        "wpackagist-plugin/meta-box-text-limiter": "dev-trunk",
        "meta-box/mb-admin-columns": "dev-master",
        "meta-box/mb-revision": "dev-master",
        "meta-box/mb-settings-page": "dev-master",
        "meta-box/mb-term-meta": "dev-master",
        "meta-box/meta-box-aio": "dev-master",
        "meta-box/meta-box-builder": "dev-master",
        "meta-box/meta-box-columns": "dev-master",
        "meta-box/meta-box-conditional-logic": "dev-master",
        "meta-box/meta-box-geolocation": "dev-master",
        "meta-box/meta-box-group": "dev-master",
        "meta-box/meta-box-include-exclude": "dev-master",
        "meta-box/meta-box-show-hide": "dev-master",
        "meta-box/meta-box-tabs": "dev-master",
        "meta-box/meta-box-template": "dev-master",
        "meta-box/meta-box-tooltip": "dev-master",
        "composer/installers": "^1"
      },
      "extra": {
        "installer-paths": {
          "vendor/meta-box/meta-box": ["wpackagist-plugin/meta-box"],
          "vendor/meta-box/mb-custom-post-type": ["wpackagist-plugin/mb-custom-post-type"],
          "vendor/meta-box/mb-relationships": ["wpackagist-plugin/mb-relation"],
          "vendor/meta-box/mb-rest-api": ["wpackagist-plugin/mb-rest-api"],
          "vendor/meta-box/meta-box-text-limiter": ["wpackagist-plugin/meta-box-text-limiter"],
          "vendor/meta-box/{$name}/": ["type:wordpress-plugin"]
        }
      },
      "autoload": {
        "files": [
          "vendor/meta-box/meta-box/meta-box.php",
          "vendor/meta-box/mb-custom-post-type/mb-custom-post-type.php",
          "vendor/meta-box/mb-relationships/mb-relationships.php",
          "vendor/meta-box/mb-rest-api/mb-rest-api.php",
          "vendor/meta-box/meta-box-text-limiter/text-limiter.php",
          "vendor/meta-box/mb-admin-columns/mb-admin-columns.php",
          "vendor/meta-box/mb-custom-table/mb-custom-table.php",
          "vendor/meta-box/mb-revision/mb-revision.php",
          "vendor/meta-box/mb-settings-page/mb-settings-page.php",
          "vendor/meta-box/mb-term-meta/mb-term-meta.php",
          "vendor/meta-box/meta-box-aio/meta-box-aio.php",
          "vendor/meta-box/meta-box-builder/meta-box-builder.php",
          "vendor/meta-box/meta-box-columns/meta-box-columns.php",
          "vendor/meta-box/meta-box-conditional-logic/meta-box-conditional-logic.php",
          "vendor/meta-box/meta-box-geolocation/meta-box-geolocation.php",
          "vendor/meta-box/meta-box-group/meta-box-group.php",
          "vendor/meta-box/meta-box-include-exclude/meta-box-include-exclude.php",
          "vendor/meta-box/meta-box-show-hide/meta-box-show-hide.php",
          "vendor/meta-box/meta-box-tabs/meta-box-tabs.php",
          "vendor/meta-box/meta-box-template/meta-box-template.php",
          "vendor/meta-box/meta-box-tooltip/meta-box-tooltip.php"
        ]
      }
    }
    

    Suggestion?

    thanks

    #24761
    MaxMMaxM
    Participant

    i just update my composer.json with

    {
      "repositories":[
        {
          "type": "composer",
          "url": "https://wpackagist.org"
        },
        {
          "type": "composer",
          "url": "https://packages.metabox.io/xxxxx"
        }
      ],
      "require": {
        "wpackagist-plugin/meta-box": "dev-trunk",
        "meta-box/meta-box-aio": "dev-master",
        "composer/installers": "^1"
      },
      "extra": {
        "installer-paths": {
          "vendor/meta-box/meta-box": ["wpackagist-plugin/meta-box"],
          "vendor/meta-box/{$name}/": ["type:wordpress-plugin"]
        }
      },
      "autoload": {
        "files": [
          "vendor/meta-box/meta-box/meta-box.php",
          "vendor/meta-box/meta-box-aio/meta-box-aio.php"
        ]
      }
    }
    

    But nothing change, i get the same error:

    
    Package operations: 3 installs, 0 updates, 0 removals
      - Installing composer/installers (v1.10.0): Extracting archive
      - Installing meta-box/meta-box-aio (master): Extracting archive
      - Installing wpackagist-plugin/meta-box (dev-trunk):  Checking out trunk
        Install of wpackagist-plugin/meta-box failed
     1/1 [============================] 100%
                                                            
      [RuntimeException]                                    
      wpackagist-plugin/meta-box could not be downloaded,   
      sh: 1: svn: not found                                 
                                                            
    
    #24762
    MaxMMaxM
    Participant

    Found mistake.

    Replace this line : "wpackagist-plugin/meta-box": "dev-trunk",

    with: "wpackagist-plugin/meta-box": "^5",

    please update composer.json that i found here:

    https://github.com/wpmetabox/library/blob/master/composer/composer.json

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.