0

After a fresh install of Laravel 7, I snagged an error during the installation of google/cloud plugin.

My steps of what I did:

laravel new
composer require google/cloud

Then while installing, I encountered this error

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.

I've also noticed that the .env file is missing. I did update my global composer with composer selfupdate and same error still occurs.

N69S
  • 16,110
  • 3
  • 22
  • 36
iamlux20
  • 139
  • 1
  • 1
  • 9
  • Did you do a composer install / update before ? – Takachi Mar 05 '20 at 09:35
  • @iamlux20 Try `php artisan clear` command – Harpal Singh Mar 05 '20 at 09:54
  • Does this answer your question? [Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255](https://stackoverflow.com/questions/50840960/script-php-artisan-packagediscover-handling-the-post-autoload-dump-event-retur) – N69S Mar 05 '20 at 09:58
  • @Takachi, yes I did a global composer update before. – iamlux20 Mar 05 '20 at 15:38
  • @HarpalSingh I don't see the point of running `php artisan clear` on a clean slate project (yet) – iamlux20 Mar 05 '20 at 15:39
  • @N69S, no. Even though I added .env from copying the .env.example file, it still wouldn't progress to the dumpautoload – iamlux20 Mar 05 '20 at 15:41

0 Answers0