运行 Composer install `driver [] is not support` 时出现 Laravel 错误
我想运行一个从 github 克隆的 laravel 应用程序。
我运行了命令:
git clone my-repo-title
但
composer install
出现此错误
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
InvalidArgumentException
Driver [] is not supported.
并显示以下消息:
105▕
106▕ if (method_exists($this, $driverMethod)) {
107▕ return $this->{$driverMethod}($config);
108▕ } else {
➜ 109▕ throw new InvalidArgumentException("Driver [{$config['driver']}] is not supported.");
110▕ }
111▕ }
112▕ }
113▕
我可以做什么来解决此问题?编辑我的 .env 文件?
当我执行命令composer update
时,会发生相同的错误。
我能为此做什么?
谢谢大家
I want to run a laravel application cloned from github.
i ran the commands :
git clone my-repo-title
and
composer install
but this error happens
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
InvalidArgumentException
Driver [] is not supported.
with this message :
105▕
106▕ if (method_exists($this, $driverMethod)) {
107▕ return $this->{$driverMethod}($config);
108▕ } else {
➜ 109▕ throw new InvalidArgumentException("Driver [{$config['driver']}] is not supported.");
110▕ }
111▕ }
112▕ }
113▕
What can i do for resolve this problem ? edit my .env file ?
When i do the command composer update
the same error happens.
What can i do for that ?
Thanks you all
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论