2015-03-26 08:03:19 27504次浏览 2条回答 0 悬赏 5 金钱

安装 composer global require "fxp/composer-asset-plugin:1.0.0"时报以下错误,找不出原因。

Changed current directory to /root/.composer
./composer.json has been updated
Loading composer repositories with package information
The "https://packagist.org/packages.json" file could not be downloaded: failed to open stream: Connection timed out
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package fxp/composer-asset-plugin could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.
您需要登录后才可以回答。登录 | 立即注册
card
试用期

card

注册时间:2015-03-26
最后登录:2015-04-13
在线时长:2小时31分
  • 粉丝0
  • 金钱0
  • 威望0
  • 积分20

热门问题