Thinkphp5.0 cannot use think-queue package, php think queue:work command does not exist

recently used the queue, used the official queue package top-think/think-queue , successfully wrote the data into the queue after installation, but went to the consumption queue, that is, when using php think queue:work-- queue xxx, prompted that the command did not exist, and then executed php think could not see the command, at the beginning of queue. That is, does this command seem to be in this version?

D:\directory>php think queue:work



  [InvalidArgumentException]
  There are no commands defined in the "queue" namespace.




D:\directory>php think
Think Console version 0.1

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -V, --version         Display this console version
  -q, --quiet           Do not output any message
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  build              Build Application Dirs
  clear              Clear runtime file
  help               Displays help for a command
  list               Lists commands
 make
  make:controller    Create a new resource controller class
  make:model         Create a new model class
 optimize
  optimize:autoload  Optimizes PSR0 and PSR4 packages to be loaded with classmaps too, good for production.
  optimize:config    Build config and common file cache.
  optimize:route     Build route cache.
  optimize:schema    Build database schema cache.

are there any brothers who have encountered similar problems?

Mar.28,2021

solved, is to accidentally rename application to app, load the application directory in think, and then prompt the non-existent error message


Hello. I would like to consult that the computer becomes particularly stuck after I open think queue:listen because the configuration of my server is too low


Thank you for your solution.
but no namespace errors are included now, but nothing happens after the command is executed. What's the reason.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38ab8-2c114.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38ab8-2c114.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?