我有一个SilverStripe站点,其中包含以下编写器。json
文件:
{
"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"
}
当我尝试在Apple终端中执行此脚本时,使用phpcomposer.phar安装-dev
,我收到以下错误消息:
使用包信息加载composer存储库
安装依赖项(包括require dev)无法将您的需求解析为一组可安装的包。
问题1
这在一月初对我来说很有效。我应该如何修改我的JSON文件,使其正常工作?
“dev master”版本中的FocusPoint仅与Silverstripe版本3.3兼容。你有三种可能:
jonom/Focus uspoint
(例如:1.1.1)你只需要编辑你的作曲家。json
文件并更改版本号。