Attempting to install via composer fails

Created on 21 March 2024, 8 months ago
Updated 5 April 2024, 8 months ago

Problem

When attempting to install via the standard composer command fails with the following error message:

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

  Problem 1
    - Root composer.json requires opigno/opigno_lms ~3.2.0, found opigno/opigno_lms[dev-master, dev-develop, dev-dev, dev-dev3, 1.0.0, ..., 1.6.0, 2.6.0, ..., 2.29.0, 3.0.0-beta1, ..., 3.x-dev] but it does not match the constraint.

I believe this may be due to the fact that 3.2.0 is not available yet?

Steps to reproduce

Execute the composer command as per the documentation:
composer create-project opigno/opigno-composer lms-test

Workaround

Specify release 3.1 via the command line (which isn't ideal to those that are starting with Opigno):
$ composer create-project opigno/opigno-composer lms-test 3.1

🐛 Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mnikolov
  • 🇨🇭Switzerland axelm

    Hi
    We removed this tag, it should be working now.
    Can you please try again ?

  • Status changed to Downport 8 months ago
  • Thanks for trying to help. Unfortunately, it seems like the issue persists, or I'm doing something wrong.

    When executing:
    $ composer create-project opigno/opigno-composer /var/www/lms-test

    I get pretty much the same error:

    Creating a "opigno/opigno-composer" project at "./lms-test"
    Installing opigno/opigno-composer (3.2.0)
      - Installing opigno/opigno-composer (3.2.0): Extracting archive
    Created project in /var/www/lms-test
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires opigno/opigno_lms ~3.2.0, found opigno/opigno_lms[dev-master, dev-develop, dev-dev, dev-dev3, 1.0.0, ..., 1.6.0, 2.6.0, ..., 2.29.0, 3.0.0-beta1, ..., 3.x-dev] but it does not match the constraint.
  • 🇮🇪Ireland frankdesign

    Hi

    I'm trying to install using composer create-project opigno/opigno-composer lms-folder and I am getting the same error. So looks like error still exists.

    Using composer create-project opigno/opigno-composer lms-folder 3.1 gets around the issue for the moment.

    F

  • 🇨🇭Switzerland axelm

    Hi,
    The package was not updated yet, we manually triggered the update.
    Now it should work, can you try one more time please ?

  • Thanks, tested, it works.

    On a side note, the composer command deploys 3.1.3 - whatever that release is, because the last in the releases list is 3.0.9?

  • 🇨🇭Switzerland axelm

    @mnikolov Yes it's correct, last release with composer is 3.1.3
    I will close this ticket since you said that it works now, thanks for your feedback !

  • Status changed to Fixed 8 months ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024