Please provide a valid cache path

King_Chin發表於2019-10-28
1.手動建立 
mkdir -p storage/framework storage/app
2.重新執行
composer install

詳細報錯如下,供參考:

composer install
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 --ansi

In Compiler.php line 36:

  Please provide a valid cache path.  

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
本作品採用《CC 協議》,轉載必須註明作者和本文連結
Chiin

相關文章