Skip to content

Install using composer fails for 0.74-beta4 #1187

@dali-marka

Description

@dali-marka

when attempting to install magento2 using composer, I hit a dependency problem with magento/module-sales-sequence (Problems 2 and 3 below)

> composer create-project magento/product-community-edition magento2 -s dev --prefer-dist
Installing magento/product-community-edition (dev-master 00eeec7864e8c54c2a7772846597ab013248e2e1)
  - Installing magento/product-community-edition (dev-master master)
    Downloading: 100%         

Created project in magento2
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-intl * is missing from your system.
  Problem 2
    - Installation request for magento/module-sales-sequence 0.74.0-beta4 -> satisfiable by magento/module-sales-sequence[0.74.0-beta4].
    - magento/module-sales-sequence 0.74.0-beta4 requires magento/magento-composer-installer 0.74.0-beta4 -> no matching package found.
  Problem 3
    - magento/module-sales-sequence 0.74.0-beta4 requires magento/magento-composer-installer 0.74.0-beta4 -> no matching package found.
    - magento/module-sales 0.74.0-beta4 requires magento/module-sales-sequence 0.74.0-beta4 -> satisfiable by magento/module-sales-sequence[0.74.0-beta4].
    - Installation request for magento/module-sales 0.74.0-beta4 -> satisfiable by magento/module-sales[0.74.0-beta4].
Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see https://github.com/magento/magento2/blob/0.74.0-beta4/app/code/Magento/SalesSequence/composer.json#L7<https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

the issue is due to this incorrect dependency declaration for that module : https://github.com/magento/magento2/blob/0.74.0-beta4/app/code/Magento/SalesSequence/composer.json#L7 . it should a "*" as opposed to a specific version.

PR coming with a fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions