I set up Laravel. But the 'artisan' didn't work. So I did like this.
*
CCNI@CCNI-WS MINGW64 ~/Cilostan $ php artisan --version PHP Warning: require(C:\Users\CCNI\Cilostan/vendor/autoload.php): failed to ope n stream: No such file or directory in C:\Users\CCNI\Cilostan\artisan on line 18 PHP Fatal error: require(): Failed opening required 'C:\Users\CCNI\Cilostan/ven dor/autoload.php' (include_path='.;C:\php\pear') in C:\Users\CCNI\Cilostan\artis an on line 18 CCNI@CCNI-WS MINGW64 ~/Cilostan $ composer dump-autoload Generating optimized autoload filesClass Illuminate\Foundation\ComposerScripts is not autoloadable, can not call post-autoload-dump script > @php artisan package:discover --ansi PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in C:\Users\CCNI\Cilostan\bootstrap\app.php:14 Stack trace: #0 C:\Users\CCNI\Cilostan\artisan(20): require_once() #1 {main} thrown in C:\Users\CCNI\Cilostan\bootstrap\app.php on line 14 Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255 *
then I did "composer update". The updating was successful. However when I entered the server localhost:8000, the server error 500 occured.
How can I resolve this problem? Help me, please.