`[RuntimeException]无法删除./:`我使用composer安装命令时出错

时间:2018-08-31 03:22:25

标签: php composer-php

我使用composer来制造斑点:

$ composer create-project flarum/flarum . --stability=beta
Installing flarum/flarum (v0.1.0-beta.7)
  - Installing flarum/flarum (v0.1.0-beta.7): Downloading (100%)         
Downloading (100%)         
Downloading (100%)    Failed to download flarum/flarum from dist: Could not delete ./: 
    Now trying to download from source
  - Installing flarum/flarum (v0.1.0-beta.7): Cloning 6916205522 from cache


  [RuntimeException]    
  Could not delete ./:  


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] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

install composer命令是:

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

0 个答案:

没有答案