Installation Error - Opigno_LMS 3.0.0

Created on 10 February 2022, almost 3 years ago
Updated 28 March 2023, over 1 year ago

I am trying to execute the composer to install opigno_lms project but I keep getting the following error:

c:\xampp\htdocs\opigno\opigno_lms>composer create-project opigno/opigno-composer:^3.0
Creating a "opigno/opigno-composer:3.0" project at "./opigno-composer"
Installing opigno/opigno-composer (3.0.0)
  - Installing opigno/opigno-composer (3.0.0): Extracting archive
Created project in C:\xampp\htdocs\opigno\opigno_lms\opigno-composer
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - opigno/opigno_lms[3.0.0-beta2, ..., 3.0.0] require dompdf/dompdf 0.8.5 -> satisfiable by dompdf/dompdf[v0.8.5].
    - opigno/opigno_lms 3.x-dev requires drupal/h5p 2.0.0-alpha1 -> found drupal/h5p[dev-8.x-1.x-dev, dev-8.x-1.x, dev-3150110-drupal-9-readyness] but it does not match the constraint.
    - opigno/opigno_lms 3.0.0-beta1 requires almende/vis 4.21.0 -> could not be found in any version, there may be a typo in the package name.
    - dompdf/dompdf[v0.8.4, ..., v0.8.5] require php ^7.1 -> your php version (8.0.15) does not satisfy that requirement.
    - Root composer.json requires opigno/opigno_lms ^3.0 -> satisfiable by opigno/opigno_lms[3.0.0-beta1, ..., 3.x-dev].

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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

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

Can someone let me know what is the mistake I have made? I have already installed dompdf 1.2.0 version, h5p is also installed. I am running Drupal 9.3.5 and I downloaded the opigno_lms project package from opigno_lms 3.0.0

Kindly help me resolve this issue. I am no expert in Drupal and still exploring based on the demo I have seen and I need the entire demo module for my learning.

Regards

Jayashree

💬 Support request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇮🇳India jayashreeg

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India Manoj Raj.R Chennai

    Do we have solution for it. How to install the module via composer!

  • 🇬🇷Greece TheodorosPloumis Greece

    We solved a similar issue for an existing project (we had the issue due to updates) like this:

    1) We require a fixed version of the drupal/opigno_lms package (eg "3.0.9")
    2) We removed all the first level dependencies on our composer.json that already exist on the opigno_lms composer.json
    3) We edited our composer.json so the version of "mozilla/pdf.js": "v2.4.456" can be found correctly on our composer.

    {
        "type": "package",
        "package": {
            "name": "mozilla/pdf.js",
            "version": "v2.4.456",
            "type": "drupal-library",
            "dist": {
                "url": "https://github.com/mozilla/pdf.js/releases/download/v2.4.456/pdfjs-2.4.456-es5-dist.zip",
                "type": "zip"
            }
        }
    },
Production build 0.71.5 2024