Laravel-Backpack / FileManager

Admin interface for files & folders, using elFinder.
Other
90 stars 21 forks source link

There are no commands defined in the "backpack:filemanager" namespace. #57

Closed Webpills closed 2 weeks ago

Webpills commented 2 weeks ago

hi

PHP VERSION:

PHP 8.2.20 (cli) (built: Jun 8 2024 21:37:34) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.20, Copyright (c) Zend Technologies with Zend OPcache v8.2.20, Copyright (c), by Zend Technologies

LARAVEL VERSION:

10.48.4.0

BACKPACK PACKAGE VERSIONS:

backpack/crud: 6.7.3 backpack/filemanager: 3.0.8

installing filemanager with composer require backpack/filemanager && php artisan backpack:filemanager:install receive this error : There are no commands defined in the "backpack:filemanager" namespace. Did you mean one of these?

any suggestion?

karandatwani92 commented 2 weeks ago

Hey @Webpills

Can you try running them one after another?

composer require backpack/filemanager
php artisan backpack:filemanager:install
Webpills commented 2 weeks ago

I already tried but the result is the same

pxpm commented 2 weeks ago

@Webpills is is possible that you have package discovery disabled ?

If that's the case, you need to manually add the package provider in your config/app.php file.

Let me know.

Cheers

Webpills commented 2 weeks ago

hi @pxpm is strange the package discovery is active. Anyway adding the provider on app.php worked. thanks