Created
September 2, 2019 21:02
-
-
Save ederrafo/95648320cb3f5d28276158471987545a to your computer and use it in GitHub Desktop.
composer errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================================================================================== | |
# $ sudo composer install | |
Do not run Composer as root/super user! See https://getcomposer.org/root for details | |
Loading composer repositories with package information | |
Installing dependencies (including require-dev) from lock file | |
Nothing to install or update | |
Generating optimized autoload files | |
> Illuminate\Foundation\ComposerScripts::postAutoloadDump | |
> @php artisan package:discover | |
In Compiler.php line 36: | |
Please provide a valid cache path. | |
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1 | |
Solution | |
create these folders under storage/framework: | |
- sessions | |
- views | |
- cache | |
Try this: | |
php artisan cache:clear | |
php artisan config:clear | |
php artisan view:clear | |
======================================================================================================================== | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment