M
M
MakPET2016-03-18 21:50:00
Laravel
MakPET, 2016-03-18 21:50:00

What is the error when downloading Laravel5.1?

[email protected]:/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>]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2016-03-18
@Nc_Soft

Update composer, I think this is
laravel-news.ru/blog/news/composer-json-changes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question