Diskusi Anas Khalif Muttaqien

Selesai
Anas Khalif Muttaqien
Ditanyakan pada: Persiapan Project

key generate

php artisan key:generate PHP Warning: require(/Users/anaskhalifm/Documents/laravel-restapi/vendor/autoload.php): Failed to open stream: No such file or directory in /Users/anaskhalifm/Documents/laravel-restapi/artisan on line 18

Warning: require(/Users/anaskhalifm/Documents/laravel-restapi/vendor/autoload.php): Failed to open stream: No such file or directory in /Users/anaskhalifm/Documents/laravel-restapi/artisan on line 18 PHP Fatal error: Uncaught Error: Failed opening required '/Users/anaskhalifm/Documents/laravel-restapi/vendor/autoload.php' (include_path='.:/usr/local/Cellar/php/8.3.4/share/php/pear') in /Users/anaskhalifm/Documents/laravel-restapi/artisan:18 Stack trace: #0 {main} thrown in /Users/anaskhalifm/Documents/laravel-restapi/artisan on line 18

Fatal error: Uncaught Error: Failed opening required '/Users/anaskhalifm/Documents/laravel-restapi/vendor/autoload.php' (include_path='.:/usr/local/Cellar/php/8.3.4/share/php/pear') in /Users/anaskhalifm/Documents/laravel-restapi/artisan:18 Stack trace: #0 {main} thrown in /Users/anaskhalifm/Documents/laravel-restapi/artisan on line 18

kira kira kenapa ya kak saat saya generate ? apakah karena versi php saya harus downgrade dulu?

2 Jawaban

Avatar
Teguh Edi Prasetyo

13 hari yang lalu

itu kalau dibaca sekilas ndak ketemu file autoload.php nya gan, coba chek relative path nya udah bener belom

Avatar
Muhammad Fakhry Burhanuddin

13 hari yang lalu

Jawaban Terpilih

Apakah ada folder vendor di dalam projectnya kak? Kalau belum kemungkinan belum menjalankan composer install.