Coder Social home page Coder Social logo

Comments (3)

andrey-helldar avatar andrey-helldar commented on May 22, 2024

Hi!

Check the value of the minimum-stability key in the composer.json. I recommend replacing it with stable instead of dev.

Due to the fact that your application is allowed to install dev versions, the composer tries to download unstable versions of packages.

The fact that the application uses the dev branch can be seen from the log - it writes the dev-main version.

So if your application has minimum-stability equal to dev, then when you run composer require dragon-code/laravel-actions , the composer will install the unstable "version" dev-main instead of the stable 4.2.

My steps to reproduce:

  1. laravel new test
  2. cd test
  3. composer require dragon-code/laravel-actions

The value of minimum-stability defaults to stable

If you need to have a stability level other than stable, you must explicitly specify the required version when installing dependencies. For example:

composer require dragon-code/laravel-actions:^4.2

image

from laravel-actions.

RRosalia avatar RRosalia commented on May 22, 2024

Okay clear thanks! That was indeed the issue!

from laravel-actions.

andrey-helldar avatar andrey-helldar commented on May 22, 2024

You're welcome!

from laravel-actions.

Related Issues (14)

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.