Open AminArjmand opened 4 years ago
Hello when i enter :
composer require aloko/nova-persian-datepicker
I've run with this error , what's the problem and how can i solve the problem? thanks : `> Illuminate\Foundation\ComposerScripts::postAutoloadDump@php artisan package:discover --ansi
Error
Class 'Laravel\Nova\Nova' not found
at C:\laragon\www\111\vendor\aloko\nova-persian-datepicker\src\FieldServiceProvider.php:18 14| @return void 15| / 16| public function boot() 17| {
18| Nova::serving(function (ServingNova $event) { 19| Nova::script('persian-datepicker', DIR.'/../dist/js/field.js'); 20| Nova::style('persian-datepicker', DIR.'/../dist/css/field.css'); 21| }); 22| }
1 C:\laragon\www\111\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:33 Aloko\PersianDatepicker\FieldServiceProvider::boot()
2 C:\laragon\www\111\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:33 call_user_func_array([]) Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json to its original content.`
سلام من یک نسخه برای سایت های خودم استفاده میکنم که سورس جاوا اسکریپتش همینه اگر خواستی میتونی از اون استفاده کنی https://gitkoodex.github.io/
Hello when i enter :
composer require aloko/nova-persian-datepicker
I've run with this error , what's the problem and how can i solve the problem? thanks : `> Illuminate\Foundation\ComposerScripts::postAutoloadDumpError
Class 'Laravel\Nova\Nova' not found
at C:\laragon\www\111\vendor\aloko\nova-persian-datepicker\src\FieldServiceProvider.php:18 14| @return void 15| / 16| public function boot() 17| {
1 C:\laragon\www\111\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:33 Aloko\PersianDatepicker\FieldServiceProvider::boot()
2 C:\laragon\www\111\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:33 call_user_func_array([]) Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json to its original content.`