swooletw / hyperf-packages

About Laravel Hyperf is a Laravel-style skeleton based on Hyperf framework designed for Laravel artisans.
https://laravel-hyperf.com
MIT License
8 stars 1 forks source link

Missing Class in devtools #33

Closed tundeajibawo closed 6 days ago

tundeajibawo commented 1 week ago

The devtool in this package is missing a class. While trying to setup laravel-hyperf and installing with composer I got this error:

Fatal error: Uncaught Error: Class "Hyperf\Devtool\Generator\GeneratorCommand" not found in /opt/www/vendor/swooletw/hyperf-packages/src/devtool/src/Generator/ProviderCommand.php:9.

I have compared with the devtool from this repository: https://github.com/hyperf/devtool and noticed the class is missing indeed. I have fixed on my machine by using the devtool from that repo instead and everything seems fine.

albertcht commented 1 week ago

Hi @tundeajibawo ,

Thanks for your report. I guess you installed laravel-hyperf with --no-dev parameter. I've verified this issue exists. I will fix it very soon.

albertcht commented 1 week ago

Hi @tundeajibawo ,

I've pushed the fix, you can try again.