issues when installing the panel
What I am trying to do: I am trying to install the admin panel
What I did:
i ran: composer require filament/filament
php artisan filament:install --panels
My issue/the error: when running php artisan filament:install --panels
it asks for and admin id. when i provide one it finished the installation but gives an error in my files and i cant acces the panel
Code: In providers.php line 5:
syntax error, unexpected token "", expecting "]"
return [
App\Providers\AppServiceProvider::class,
App\Providers\Filament\1PanelProvider::class,
];
What I did:
i ran: composer require filament/filament
php artisan filament:install --panels
My issue/the error: when running php artisan filament:install --panels
it asks for and admin id. when i provide one it finished the installation but gives an error in my files and i cant acces the panel
Code: In providers.php line 5:
syntax error, unexpected token "", expecting "]"
return [
App\Providers\AppServiceProvider::class,
App\Providers\Filament\1PanelProvider::class,
];
Solution
Possibly caused by the 1 in the PanelProvider don't think classes support numbers