Composer php Laravel 8安装程序错误----“移除vcs”;选项不存在

Composer php Laravel 8安装程序错误----“移除vcs”;选项不存在,composer-php,laravel-8,Composer Php,Laravel 8,我最近安装了新的Laravel安装程序,以获得版本8。我遇到以下错误: | | | | | | __ _ _ __ __ ___ _____| | | | / _` | '__/ _` \ \ / / _ \ | | |___| (_| | | | (_| |\ V / __/ | |______\__,_|_| \__,_| \_/ \___|_|

我最近安装了新的Laravel安装程序,以获得版本8。我遇到以下错误:

| |                             | |
| |     __ _ _ __ __ ___   _____| |
| |    / _` | '__/ _` \ \ / / _ \ |
| |___| (_| | | | (_| |\ V /  __/ |
|______\__,_|_|  \__,_| \_/ \___|_|


                                                          
  [Symfony\Component\Console\Exception\RuntimeException]  
  The "--remove-vcs" option does not exist.               
                                                          

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

我得到了

[RuntimeException]
SHA384 is not supported by your openssl extension, could not verify the phar file integrity
因此,该过程将是卸载Composer并重新安装

删除:

sudo rm /usr/local/bin/composer
要安装:

curl -sS https://getcomposer.org/installer | sudo php
使作曲家全球化:

sudo mv composer.phar /usr/local/bin/composer
测试编写器:

composer
最后,我再次安装了laravel

composer global require laravel/installer
composer global require laravel/installer