@MakPET

Что за ошибка при при скачивании Laravel5.1?

asa@home:/var/www$ composer create-project laravel/laravel pole "5.1.*"
Installing laravel/laravel (v5.1.11)
  - Installing laravel/laravel (v5.1.11)
    Loading from cache

Created project in pole
> php -r "copy('.env.example', '.env');"
> php artisan clear-compiled
PHP Warning:  require(/var/www/pole/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/pole/bootstrap/autoload.php on line 17
PHP Fatal error:  require(): Failed opening required '/var/www/pole/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/pole/bootstrap/autoload.php on line 17
Script php artisan clear-compiled handling the pre-update-cmd event returned with an error

                                                                                                                                                        
  [RuntimeException]                                                                                                                                    
  Error Output: PHP Warning:  require(/var/www/pole/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/po  
  le/bootstrap/autoload.php on line 17                                                                                                                  
  PHP Fatal error:  require(): Failed opening required '/var/www/pole/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pea  
  r') in /var/www/pole/bootstrap/autoload.php on line 17                                                                                                
                                                                                                                                                        

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
  • Вопрос задан
  • 1507 просмотров
Пригласить эксперта
Ответы на вопрос 1
@Nc_Soft
Обновите композер, я думаю дело в этом
laravel-news.ru/blog/news/composer-json-changes
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы