Closed Marcuzzz closed 8 years ago
composer install On Apr 2, 2016 2:12 PM, "Marcuzzz" notifications@github.com wrote:
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "amnah/yii2-user" namespace.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/amnah/yii2-user/issues/145
terminal: composer install "amnah/yii2-user": "^5.0" Invalid argument amnah/yii2-user: ^5.0. Use "composer require amnah/yii2-user: ^5.0" instead to add packages to your composer.json.
terminal: composer require "amnah/yii2-user": "^5.0"
[InvalidArgumentException]
Could not find package ^5.0 at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [
composer.json changed to dev:
terminal: composer require "amnah/yii2-user": "^5.0"
[InvalidArgumentException]
Could not find package ^5.0 at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability
hmm what happens if you try taking out the number
just require amnah/yii2-user On Apr 2, 2016 2:21 PM, "Marcuzzz" notifications@github.com wrote:
composer.json changed to dev: terminal: composer require "amnah/yii2-user": "^5.0" [InvalidArgumentException]
Could not find package ^5.0 at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/amnah/yii2-user/issues/145#issuecomment-204769992
That works thanks! ( - Installing amnah/yii2-user (5.0.2) Loading from cache )
Could not parse version constraint : Invalid version string
in terminal composer require "amnah/yii2-user"
@abhimanyunaikare open up a new issue and post your composer.json file
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "amnah/yii2-user" namespace.