Closed sevendiscovery closed 4 years ago
composer require "hyperf/watcher:2.0.x-dev" --dev
驱动:ScanFileDriver,依赖注入没问题,注解注入会报错 [ERROR] Call to a member function getMethod() on null[20] in /hyperf-skeleton/ap p/Controller/IndexController.php [ERROR] #0 /hyperf-skeleton/vendor/hyperf/http-server/src/CoreMiddleware.php(160 ): App\Controller\IndexController->index()
f\HttpServer\CoreMiddleware->handleFound(Object(Hyperf\HttpServer\Router\Dispatc hed), Object(Hyperf\HttpMessage\Server\Request))
Hyperf\HttpServer\CoreMiddleware->process(Object(Hyperf\HttpMessage\Server\Requ est), Object(Hyperf\Dispatcher\HttpRequestHandler))
erf\Dispatcher\AbstractRequestHandler->handleRequest(Object(Hyperf\HttpMessage\S erver\Request))
composer dump-autoload -o
composer require hyperf/watcher --dev 安装下来的2.0.1 没有 ScanFileDriver 驱动