I duplicated a working laravel app and renamed it to use for another app. I deleted the vendor folder and run the following commands again:
composer self-up
Error :'Please provide a valid cache path.' error.
If these type error comes then the solution given below :-
please create data folder inside storage/framework/cache