Code Monkey home page Code Monkey logo

Comments (3)

monaw avatar monaw commented on June 3, 2024

is the composer.json correct? what's the proper branch or release tag of the code? because now i'm having a new error which suggests the main branch isn't correct:

$ composer require acquia-pso/dst-entity-generate dev-main
./composer.json has been updated
Running composer update acquia-pso/dst-entity-generate
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 acquia-pso/dst-entity-generate dev-main, found acquia-pso/dst-entity-generate[dev-generate-layout-canvas-field-of-site-studio, ..., dev-paragraph-fields] but it does not match the constraint.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
composer [require acquia-pso/dst-entity-generate dev-main] failed, composer command failed: exit status 2. stderr=

all help is appreciated!

from dst-entity-generate.

monaw avatar monaw commented on June 3, 2024

ok, rereading the documentation, i updated my composer.json:

    "repositories": {
        "acquia-pso": {
            "url": "https://github.com/acquia-pso/dst-entity-generate.git",
            "type": "git"
        },
        "0": {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    },

but still getting the same error:

$ composer require acquia-pso/dst-entity-generate

In PackageDiscoveryTrait.php line 327:
                                                                               
  Could not find a version of package acquia-pso/dst-entity-generate matching  
   your minimum-stability (stable). Require it with an explicit version const  
  raint allowing its desired stability.

from dst-entity-generate.

monaw avatar monaw commented on June 3, 2024

ok, finally this command worked for me to solve the above version problem:
composer require acquia-pso/dst-entity-generate dev-master
next problem is that drush 11 isn't supported by the composer so i had to downgrade to drush 10...can drush 11 be supported?

from dst-entity-generate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.