在Bitbucket上运行管道时,Laravel / COmposer安装,PDOException

时间:2017-07-11 17:18:17

标签: php laravel composer-php bitbucket

我有一个在laravel上运行的站点,当我从bitbucket运行管道时,它会通过composer安装,但在安装大多数软件包后,我得到了这个:

phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
phpspec/phpspec suggests installing phpspec/nyan-formatters (~1.0 – Adds 
Nyan formatters)
Writing lock file
Generating autoload files
> php artisan clear-compiled

[PDOException]         
could not find driver  

Script php artisan clear-compiled handling the post-update-cmd event 
returned with error code 1

这些管道在查看版本控制时过去很好,但现在它失败了,我不知道如何追溯它。我在管道控制台的顶部添加了一些额外的行,但我认为它只涉及最后几行。

是否有已知问题或解决方法?我空了。

0 个答案:

没有答案