think-queue
think-queue copied to clipboard
安装时报错: Call to undefined method think\Console::addDefaultCommands()
@php think service:discover
Fatal error: Uncaught Error: Call to undefined method think\Console::addDefaultCommands() in D:\phpstudy_pro\WWW\virtually\server\vendor\topthink\think-queue\src\common.php:12
Stack trace:
#0 D:\phpstudy_pro\WWW\virtually\server\vendor\composer\autoload_real.php(41): require()
#1 D:\phpstudy_pro\WWW\virtually\server\vendor\composer\autoload_real.php(45): {closure}()
#2 D:\phpstudy_pro\WWW\virtually\server\vendor\autoload.php(25): ComposerAutoloaderInitd2a74ba94e266cc4f45a64c54a292d7e::getLoader()
#3 D:\phpstudy_pro\WWW\virtually\server\think(7): require('...')
#4 {main}
thrown in D:\phpstudy_pro\WWW\virtually\server\vendor\topthink\think-queue\src\common.php on line 12
Script @php think service:discover handling the post-autoload-dump event returned with error code 255