全新安装Laravel 7之后,我在安装google / cloud插件期间发现一个错误。
我的工作步骤:
laravel new
composer require google/cloud
然后在安装时,我遇到了此错误
Package manifest generated successfully.
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code -1073741819
Installation failed, reverting ./composer.json to its original content.
我还注意到.env文件丢失。我确实使用composer selfupdate
更新了全局作曲家,但仍然出现相同的错误。