首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >试图运行编写器时终端中的错误

试图运行编写器时终端中的错误
EN

Stack Overflow用户
提问于 2016-02-22 09:21:03
回答 1查看 239关注 0票数 1

我有一个SilverStripe站点,其composer.json文件如下:

代码语言:javascript
代码运行次数:0
运行
复制
{
    "name": "silverstripe/installer",
    "description": "The SilverStripe Framework Installer",
    "require": {
        "php": ">=5.3.2",
        "silverstripe/cms": "3.2.1",
        "silverstripe/framework": "3.2.1",
        "silverstripe-themes/simple": "*",
        "silverstripe/userforms": "*",
        "silverstripe/widgets": "*",
        "silverstripe/spamprotection": "*",
        "silverstripe/blog": "dev-master",
        "silverstripe/comments": "dev-master",
        "silverstripe/lumberjack": "~1.1",
        "undefinedoffset/sortablegridfield": "dev-master",
        "axllent/silverstripe-version-truncator": "dev-master",
        "unclecheese/betterbuttons": "dev-master",
        "jonom/focuspoint": "dev-master",
        "silverbusters/silverstripe-simplelistfield": "dev-master"
    },
    "config": {
        "process-timeout": 600  
    },
    "minimum-stability": "dev"
}

当我试图使用php composer.phar install -dev在苹果终端中执行此脚本时,我会收到以下错误消息:

用包信息加载composer存储库 安装依赖项(包括require)无法将您的需求解析为可安装的软件包集。 问题1

  • silverstripe/framework3.2.1的安装请求可以由silverstripe/framework 3.2.1满足。
  • jonom/focuspoint master要求silverstripe/framework3.3.0.x-dev、3.3.x-dev、3.x-dev、3.4.x-dev可满足silverstripe/ -> ^3.3。
  • 只能安装其中之一:silverstripe/framework3.3.0.x 3.3.0.x-dev,3.2.1。
  • 只能安装其中之一:silverstripe/framework3.3.x 3.3.x-dev,3.2.1。
  • 只能安装其中之一:silverstripe/framework3.x 3.x-dev,3.2.1。
  • 只能安装其中之一:silverstripe/framework3.4.x 3.4.x-dev,3.2.1。
  • jonom/focuspointdev-master ->的安装请求可由jonom/focuspointdev master满足。

我在1月初做得很好。我应该如何修改我的JSON文件,这样才能正确工作?

EN

回答 1

Stack Overflow用户

发布于 2016-02-22 09:42:15

“开发主”版本中的FocusPoint只与Silverstripe版本3.3兼容。你有三种可能性:

  • 安装3.3版(不稳定)的银色条纹,以使FocusPoint工作。
  • 不要安装jonom/focuspoint
  • 安装较早版本的jonom/focuspoint (例如: 1.1.1)

您只需编辑composer.json文件并更改版本号即可。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35549822

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档