mardi 30 août 2016

composer problems with installing Laravel 5.2

I got the following error when run

composer create-project laravel/laravel=5.2 job --prefer-dist

however when I don't specifiy the version of laravel it works fine,

I tried to do composer clearcache but It does not fix the error :(

here is the error:

> php -r "copy('.env.example', '.env');"
> php artisan clear-compiled

Warning: require(C:\xampp\htdocs\laravel\jobsapi\job\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\laravel\jobsapi\job\boo
tstrap\autoload.php on line 17

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\laravel\jobsapi\job\bootstrap/../vendor/autoload.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\lara
vel\jobsapi\job\bootstrap\autoload.php on line 17
Script php artisan clear-compiled handling the pre-update-cmd event returned with error code 255

in spite of the error Laravel 5.2 is partially installed by the vendor folder is missing



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2c4MDd9
via IFTTT

Aucun commentaire:

Enregistrer un commentaire