Composer更新失败:用于下载临时文件的“/home/myself/.composer/cache”目录无法写入

时间:2016-10-08 15:36:43

标签: php composer-php

我想在launching上安装CakePHP:

composer self-update && composer create-project --prefer-dist cakephp/app my_app_name

我收到此错误消息:

[Composer\Downloader\FilesystemException]                                    
  Filesystem exception:                                                        
  Composer update failed: the "/home/myself/.composer/cache" directory use  
  d to download the temp file could not be written 

如何解决?

0 个答案:

没有答案