amnah / yii2-user

Yii2 user authentication module
MIT License
253 stars 104 forks source link

composer "amnah/yii2-user": "^5.0" gives error #145

Closed Marcuzzz closed 8 years ago

Marcuzzz commented 8 years ago

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "amnah/yii2-user" namespace.

amnah commented 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

Marcuzzz commented 8 years ago

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] [--] []...

Marcuzzz commented 8 years ago

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

amnah commented 8 years ago

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

Marcuzzz commented 8 years ago

That works thanks! ( - Installing amnah/yii2-user (5.0.2) Loading from cache )

abhimanyunaikare commented 8 years ago

Could not parse version constraint : Invalid version string

abhimanyunaikare commented 8 years ago

in terminal composer require "amnah/yii2-user"

amnah commented 8 years ago

@abhimanyunaikare open up a new issue and post your composer.json file