Closed miguelcjalmeida closed 6 years ago
You have installed v0.2.1
version, its the latest stable one but its pretty old and may not work with php 7. Try to install dev-master
version via composer global require mkusher/padawan:dev-master
.
Hi! thank you for your quick reply. I tried running the command you recommended, but it did not work. I got the following messages:
$ composer global require mkusher/padawan:dev-master
Changed current directory to /home/scotilen/.config/composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for mkusher/padawan dev-master -> satisfiable by mkusher/padawan[dev-master].
- mkusher/padawan dev-master requires react/filesystem dev-master -> satisfiable by react/filesystem[dev-master] but these conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.
I am sorry It seems composer has a setup to allow you to require @dev dependencies. So all I had to do is run the following command which added a minimum-stability flag in my composer.json:
composer global config minimum-stability dev # Sets minimum-stability to "dev"
So my global composer.json looks like this now:
{
"require": { "mkusher/padawan": "dev-master"
"minimum-stability": "dev"
}
Thank you! padawan is working great now <3
Hello,
I am trying to execute the command: padawan, but I get the following exception:
My environment is configured with php 7.2.0 and composer 1.5.6 on a Manjaro linux.
I have installed padawan with the following command:
composer global require mkusher/padawan
Does anybody knows what I am doing wrong?
Thanks for any help!