Frank
Frank

Reputation: 21

Laravel bootstrap/cache on GDrive giving error on composer install

trying to composer install a proj. on GDrive so I can continue dev on it without further ado from any machine. But bootstrap/cache, even when GDrive sync is turned off is giving me a headache with:

"

@php artisan package:discover --ansi

In PackageManifest.php line 178:

The C:...\bootstrap\cache directory must be present and writable.

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 "

I solved the rwx for the folder on GDrive sync app for my Win11, but the problem remains no matter what.

Question, is there another reason why the post-autoload-dump is kept from functioning respectively an idea available on working around this without losing my ability to post-autoload-dump ?

Regards Frank

Upvotes: 0

Views: 89

Answers (1)

Robert Quainoo
Robert Quainoo

Reputation: 1

run "chmod -R 777 bootstrap/cache" on the command line.

Upvotes: 0

Related Questions