NovaTextCard icon indicating copy to clipboard operation
NovaTextCard copied to clipboard

Not playing nicely with barryvdh/laravel-ide-helper

Open eugenefvdm opened this issue 5 years ago • 0 comments

The plugin doesn't seem to play nicely with barryvdh/laravel-ide-helper. The error is documented below. The solution (for now) was to uninstall Laravel IDE Helper.

When I did composer require, I got this problem:

Illuminate\Foundation\ComposerScripts::postUpdate php artisan ide-helper:generate

Symfony\Component\Debug\Exception\FatalThrowableError : Too few arguments to function Illuminate\Support\Manager::createDriver(), 0 passed in /home/eugene/Code/bo/vendor/laravel/framework/src/Illuminate/Support/Manager.php on line 96 and exactly 1 expected

at /home/eugene/Code/bo/vendor/laravel/framework/src/Illuminate/Support/Manager.php:85 81| * @return mixed 82| * 83| * @throws \InvalidArgumentException 84| */

85| protected function createDriver($driver) 86| { 87| // First, we will determine if a custom driver creator exists for the given driver and 88| // if it does not we will check for a creator method for the driver. Custom creator 89| // callbacks allow developers to build their own "drivers" easily using Closures.

Exception trace:

1 Illuminate\Support\Manager::createDriver() /home/eugene/Code/bo/vendor/laravel/framework/src/Illuminate/Support/Manager.php:96

2 Illuminate\Support\Manager::createDriver("") /home/eugene/Code/bo/vendor/laravel/framework/src/Illuminate/Support/Manager.php:71

Please use the argument -v to see more details. Script php artisan ide-helper:generate handling the post-update-cmd event returned with error code 1

eugenefvdm avatar Jul 29 '19 08:07 eugenefvdm