Closed ninijule closed 4 years ago
I think it's because the config file not existing during the installation, thus $router->middlewareGroup()
receives a null
here:
I managed to install it by manually copying the config file located at akaunting/firewall/blob/master/src/Config/firewall.php
and then php artisan config:cache
, then proceeding normally with the installation.
I have issued #31 to fix this.
Feel free to follow the PR.
"Writing lock file Generating optimized autoload files
TypeError
Argument 2 passed to Illuminate\Routing\Router::middlewareGroup() must be of the type array, null given, called in /home/pi/GestionJ/idf-armatures/vendor/akaunting/firewall/src/Provider.php on line 60
at vendor/laravel/framework/src/Illuminate/Routing/Router.php:879 875| @param string $name 876| @param array $middleware 877| @return $this 878| /
11 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(Akaunting\Firewall\Provider))
17 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1"
This is happens while i was trying to install Do you have a idea what is the problem TY ! ;D