Open dhsont opened 9 months ago
I have same problem with php artisan ui adminlte-localized --auth
.
Is there any solution?
EDIT: After some manipulation I solve my problem this way:
You can add a slash to /vendor/infyomlabs/laravel-ui-adminlte/src/AdminLTELocalizedPreset.php:58 before ../adminlte-stubs/...
So you must have this line after:
copy(__DIR__ . '/../adminlte-stubs/bootstrap/vite.config.js', base_path('vite.config.js'));
@dhsont
Truying to run following command on fresh laravel project with infyom lab php artisan ui adminlte-localized --auth
ErrorException
copy(D:\laragon\www\l10infyom\vendor\infyomlabs\laravel-ui-adminlte\src../adminlte-stubs/bootstrap/vite.config.js): Failed to open stream: No such file or directory
at vendor\infyomlabs\laravel-ui-adminlte\src\AdminLTELocalizedPreset.php:58 54▕ @return void 55▕ / 56▕ protected static function updateViteConfiguration() 57▕ { ➜ 58▕ copy(DIR.'../adminlte-stubs/bootstrap/vite.config.js', base_path('vite.config.js')); 59▕ } 60▕ 61▕ /* 62▕ Update the Sass files for the application.
1 vendor\infyomlabs\laravel-ui-adminlte\src\AdminLTELocalizedPreset.php:58
2 vendor\infyomlabs\laravel-ui-adminlte\src\AdminLTELocalizedPreset.php:45 InfyOm\AdminLTEPreset\AdminLTELocalizedPreset::updateViteConfiguration()
working fine for non localized
php artisan ui adminlte --auth