DigitalCloud / nova-custom-views

This package allows you to override default nova views
78 stars 41 forks source link

Error compiling #26

Open vayurobins opened 4 years ago

vayurobins commented 4 years ago

Hi. Using Nova version 2.8.0, Laravel version 6.6.2 and Nova Custom Views version 1.7. When running "npm run watch" I get a compile error: ERROR Failed to compile with 1 errors.

vayurobins commented 4 years ago

I too get errors when I run:

php artisan nova:views my-resource-name index
Declaration of devmtm\NovaCustomViews\ViewsCommand::runCommand($command, $path) should be compatible with Illuminate\Console\Command::runCommand($command, array $arguments, Symfony\Component\Console\Output\OutputInterface $output)

  at /var/www/vendor/digitalcloud/nova-custom-views/src/commands/ViewsCommand.php:441
    437|             $registeredViews[$view] = $component;
    438|         }
    439|         return json_encode($registeredViews);
    440|     }
  > 441| }

Nova Version: 2.8.0

xUJYx commented 3 years ago

See #32