Api: Install in laravel 5.* giving error

Created on 21 Jun 2017  路  3Comments  路  Source: dingo/api

Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package aloha/twilio 4.9.2 exists as aloha/twilio[1.0.1, 1.0.2, 1.1.0, 1.x-dev, 2.0.0, 2.0.0-RC1, 2.0.0-RC2, 2.0.0-RC3, 2.0.0-RC4, 2.0.0-RC5, 2.1.0, 2.1.1, 2.x-dev, 3.0.0, dev-master] but these are rejected by your constraint.

Most helpful comment

This error is due to dingo / api dependent phpdocumentor / type-resolver which version is 0.2.0, however phpdocumentor / type-resolver default is 0.4.0, so the error will be given.

20170722193001

You should first add "dingo / api: 1.0.x@dev" to composer.json and then perform the composer update.
composer update
20170722193432

All 3 comments

Whats your composer file look like?

image

This error is due to dingo / api dependent phpdocumentor / type-resolver which version is 0.2.0, however phpdocumentor / type-resolver default is 0.4.0, so the error will be given.

20170722193001

You should first add "dingo / api: 1.0.x@dev" to composer.json and then perform the composer update.
composer update
20170722193432

Was this page helpful?
0 / 5 - 0 ratings