无效的版本字符串" 4.x.x" + Laravel

时间:2016-04-26 05:25:36

标签: php laravel laravel-5.2

我正在尝试安装" Asgardcms / Platform"打包到Laravel 5.2。

我在安装此软件包时发现错误

[RuntimeException]                                                           
  Could not load package intervention/image in http://packagist.org: [Unexpec  
  tedValueException] Could not parse version constraint 4.x.x: Invalid versio  
  n string "4.x.x" 

 [UnexpectedValueException]                                                
  Could not parse version constraint 4.x.x: Invalid version string "4.x.x" 

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

运行编辑器composer self-update它将解决您的问题