Using version ^4.1 for darkghosthunter/larapoke
./composer.json has been updated
Running composer update darkghosthunter/larapoke
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking darkghosthunter/larapoke (v4.1.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading darkghosthunter/larapoke (v4.1.1)
- Installing darkghosthunter/larapoke (v4.1.1): Extracting archive
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Package zendframework/zend-escaper is abandoned, you should avoid using it. Use laminas/laminas-escaper instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Error
Call to a member function name() on array
at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
68| // When the "domain" config is null, we will just register a global route
69| // that will respond to all domains. Otherwise, we will wrap the value
70| // and traverse the array to register each to its own domain name.
71| if ($config['domain'] === null) {
> 72| $this->route($config)->name($config['name']);
73| return;
74| }
75|
76| // If its just one domain, we will register it and then exit
1 C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php:6
DarkGhostHunter\Larapoke\Http\RouteGenerator::setRoutes()
2 C:\xampp\htdocs\xxx\vendor\laravel\framework\src\Illuminate\Support\ServiceProvider.php:83
require("C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php")
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\xampp\htdocs\xxx> php artisan vendor:publish --provider=DarkGhostHunter\Larapoke\LarapokeServiceProvider
Error
Call to a member function name() on array
at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
68| // When the "domain" config is null, we will just register a global route
69| // that will respond to all domains. Otherwise, we will wrap the value
70| // and traverse the array to register each to its own domain name.
> 72| $this->route($config)->name($config['name']);
73| return;
74| }
75|
76| // If its just one domain, we will register it and then exit
1 C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php:6
DarkGhostHunter\Larapoke\Http\RouteGenerator::setRoutes()
2 C:\xampp\htdocs\xxx\vendor\laravel\framework\src\Illuminate\Support\ServiceProvider.php:83
require("C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php")
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\xampp\htdocs\xxx> php artisan vendor:publish --provider=DarkGhostHunter\Larapoke\LarapokeServiceProvider
Error
Call to a member function name() on array
at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
68| // When the "domain" config is null, we will just register a global route
69| // that will respond to all domains. Otherwise, we will wrap the value
70| // and traverse the array to register each to its own domain name.
71| if ($config['domain'] === null) {
> 72| $this->route($config)->name($config['name']);
73| return;
74| }
75|
76| // If its just one domain, we will register it and then exit
PS C:\xampp\htdocs\xxx> php artisan
Error
Call to a member function name() on array
at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
68| // When the "domain" config is null, we will just register a global route
69| // that will respond to all domains. Otherwise, we will wrap the value
70| // and traverse the array to register each to its own domain name.
71| if ($config['domain'] === null) {
> 72| $this->route($config)->name($config['name']);
73| return;
74| }
75|
76| // If its just one domain, we will register it and then exit
1 C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php:6
DarkGhostHunter\Larapoke\Http\RouteGenerator::setRoutes()
2 C:\xampp\htdocs\xxx\vendor\laravel\framework\src\Illuminate\Support\ServiceProvider.php:83
require("C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php")