Comments (3)
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:
laravel new test
cd test
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
from laravel-actions.
Okay clear thanks! That was indeed the issue!
from laravel-actions.
You're welcome!
from laravel-actions.
Related Issues (14)
- Migration Action throws error when there are non Action files within the actions folder HOT 4
- Isolated option HOT 2
- Warn: "Actions repository already exists" every run HOT 1
- Upgrading from 2.x to 4.x fails on database migrations HOT 1
- Add the ability to execute a specific file
- Squashing migrations HOT 1
- Method to be called when code execution completes HOT 1
- Method to be called on success
- Method to be called on runtime error
- Anonymous migrations do not work with Laravel 8 HOT 2
- Add the ability to automatically generate a file name when creating
- Publish migration HOT 5
- Execution of actions during deployment in two stages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-actions.