drmq16019 2013-09-26 18:26
浏览 56
已采纳

Symfony2和composer没有安装包

I'm trying to install the FOSUserBundle on Symfony2.

On trying to run this command in the Terminal

composer update friendsofsymfony/user-bundle

I am presented with this error:

Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1 - symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. - symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. - Installation request for symfony/icu == 1.2.0.0 -> satisfiable by symfony/icu[v1.2.0].

I have read about the INTL extension not being installed correct, so I followed these instructions, restarted MAMP and the issue is still present!

I've checked with phpinfo() also and it's confirmed that INTL has been installed. I'm at a loss on how to get rid of these errors!

  • 写回答

1条回答 默认 最新

  • doujishao8793 2013-09-26 18:47
    关注

    The issue is still present because you are running composer update only for FOSUserBundle.

    First try to run composer update symfony/icu, and then run composer update friendsofsymfony/user-bundle.

    If this doesn't work, try updating all your vendors with composer update

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 树莓派安卓APK系统签名
  • ¥15 maple软件,用solve求反函数出现rootof,怎么办?
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题
  • ¥15 state显示变量是字符串形式,但是仍然红色,无法引用,并显示类型不匹配
  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题
  • ¥20 在虚拟机的pycharm上
  • ¥15 jupyterthemes 设置完毕后没有效果
  • ¥15 matlab图像高斯低通滤波