make:filament-importer is not defined.
It's my first time working with Filament, and the filament-importer actions grasped my attention. Followed the documentation to make this package work but i keep getting this error ERROR Command "make:filament-importer" is not defined. Did you mean one of these? after doing this terminal command "php artisan make:filament-importer Invoice". Thank you in advance.
14 Replies
I think you need composer update to make sure you're in the last version of filament 3.1
just have done composer update, and nope the problem still persists. Any other idea on how to fx it ?
what's the output of
php artisan about
?Hello @DrByte here's the output of my php artisan about
Your filament version is below 3.1. The import action was introduced in v 3.1.
how can i upgrade the filament package ? doing composer upgrade, composer update. both terminal commands didnt upgrade my filament version.
what is the version of filament in your composer
@Lara Zeus here it is
use ^3.0-stable
GREAT NOW IT WORKS ! but following through the docs and adding the action to the table function i got this error "Cannot use League\Csv\Reader as CsvReader because the name is already in use"
InvoiceImporter**
FOUND it. in the CanImportRecords class you duplicated the import
Yes, @DrByte already submitted a pull request to fix this.
When you update today to 3.1.18 it will be fixed.
Thank you !