- marked as trivial
Composer installation error
I'm running a clean install of Laravel 4, updated today.
I added this to my composer.json, in the "require" section:
"atticmedia-anvard": "*",
When running composer update, I get: - The requested package atticmedia-anvard could not be found in any version, there may be a typo in the package name.
I also tried with "atticmedia-anvard": "dev-master", to no avail...
Comments (4)
-
reporter -
i got caught, too.. still new to composer...
-
There are all sorts of errors you can get... I've found most of them could be b/c of the minimum stability option. Here is what I put in my readme (see my 4.1 update pull request)
Option 1: You may need to add the below to composer:
"minimum-stability": "dev", "prefer-stable": true
Option 2: Instead of the above step, you could add
"hybridauth/hybridauth": "2.*@dev"
to composer.json if you don't want to change your full projects minimum-stability (this is what I do). -
- changed status to closed
- Log in to comment
Argh! I didn't see that the documentation on the front page is wrong: It should say atticmedia/anvard and not atticmedia-anvard... I corrected that, and got it installed. But updating the doc might be an idea... ;)