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

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

报告相同问题?

悬赏问题

  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?