InfyOmLabs / coreui-templates

Core UI templates for InfyOm Laravel Generator
MIT License
32 stars 36 forks source link

Missing stubs when publishing layout #44

Closed freezy-sk closed 3 years ago

freezy-sk commented 3 years ago

"infyomlabs/coreui-templates": "1.0.1", "infyomlabs/laravel-generator": "8.0.x-dev",

# php artisan infyom.publish:layout
layouts/app.blade.php published
/var/www/html/resources/views/layouts/app.blade.php
layouts/sidebar.blade.php published
/var/www/html/resources/views/layouts/sidebar.blade.php
layouts/datatables_css.blade.php published
/var/www/html/resources/views/layouts/datatables_css.blade.php
layouts/datatables_js.blade.php published
/var/www/html/resources/views/layouts/datatables_js.blade.php
layouts/menu.blade.php published
/var/www/html/resources/views/layouts/menu.blade.php

 /var/www/html/resources/views/home.blade.php already exists. Do you want to overwrite it? [y|N] (yes/no) [no]:
 > yes

home.blade.php published
/var/www/html/resources/views/home.blade.php
auth/login.blade.php published
/var/www/html/resources/views/auth/login.blade.php
auth/register.blade.php published
/var/www/html/resources/views/auth/register.blade.php

   ErrorException

  copy(/var/www/html/vendor/infyomlabs/coreui-templates/templates/scaffold/auth/passwords/confirm.stub): Failed to open stream: No such file or directory

  at vendor/infyomlabs/laravel-generator/src/Commands/Publish/PublishBaseCommand.php:20
     16▕         if (file_exists($destinationFile) && !$this->confirmOverwrite($destinationFile)) {
     17▕             return;
     18▕         }
     19▕
  ➜  20▕         copy($sourceFile, $destinationFile);
     21▕
     22▕         $this->comment($fileName.' published');
     23▕         $this->info($destinationFile);
     24▕     }

      +16 vendor frames
  17  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))