Api: [help] api:routes have some mistake

Created on 18 Sep 2017  路  7Comments  路  Source: dingo/api

php artisan api:routes
the mistake happen :
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined method Illuminate\Foundation\Console\RouteListCommand::handle()

Most helpful comment

I'm using Laravel 5.2
I found a solution commenting lines from 82 to 87 (method handle ) in ./vendor/dingo/api/src/Console/Command/Routes.php

All 7 comments

@hare2011 are you on 5.5? since 5.4 uses the fire method instead of handle (5.5)

@hare2011
i met the same mistake , you shouldn't execute the command:
composer update

same mistake.

How to resolve it? I am using 5.3.*

Please use the new issue template.

I'm using Laravel 5.2
I found a solution commenting lines from 82 to 87 (method handle ) in ./vendor/dingo/api/src/Console/Command/Routes.php

I met the same mistake ,
and i solved it by update my dingo\api version.
I'm using Laravel 5.4
please see this

ps :I'm a freshman

Was this page helpful?
0 / 5 - 0 ratings