Php typo3/cms tstemplate 10.0.x-dev需要typo3/cms core 10.0.*@dev->;typo3/cms核心可满足[10.0.x-dev]
您好,我正在尝试安装typo3的最新lts。 我对打字3还不熟悉,刚刚开始 我选择了composer,因为它是最容易安装的方式 网站上说我需要使用Php typo3/cms tstemplate 10.0.x-dev需要typo3/cms core 10.0.*@dev->;typo3/cms核心可满足[10.0.x-dev],php,typo3,typo3-9.x,Php,Typo3,Typo3 9.x,您好,我正在尝试安装typo3的最新lts。 我对打字3还不熟悉,刚刚开始 我选择了composer,因为它是最容易安装的方式 网站上说我需要使用 require typo3/minimal 但是当我尝试添加任何其他扩展时,比如 typo3/cms-tstemplate 我得到这个错误 Using version ^10.0@dev for typo3/cms-tstemplate Search for a package: ./composer.json has been updated
require typo3/minimal
但是当我尝试添加任何其他扩展时,比如
typo3/cms-tstemplate
我得到这个错误
Using version ^10.0@dev for typo3/cms-tstemplate
Search for a package:
./composer.json has been updated
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
- don't install typo3/cms-core 10.0.x-dev|don't install typo3/cms-core 9.5.x-dev
- don't install typo3/cms-core 10.0.x-dev|remove typo3/cms-core 9.5.x-dev
- don't install typo3/cms-core 10.0.x-dev|don't install typo3/cms-core 9.5.x-dev
- typo3/cms-tstemplate 10.0.x-dev requires typo3/cms-core 10.0.*@dev -> satisfiable by typo3/cms-core[10.0.x-dev].
- Installation request for typo3/cms-tstemplate ^10.0@dev -> satisfiable by typo3/cms-tstemplate[10.0.x-dev].
- Installation request for typo3/cms-core (locked at 9.5.x-dev) -> satisfiable by typo3/cms-core[9.5.x-dev].
所以我现在需要调整什么版本,阅读起来有点混乱
编辑:
composer.json
{
"name": "test",
"description": "test",
"type": "project",
"require": {
"typo3/minimal": "9.5"
},
"authors": [
{
"name": "John",
"email": "test"
}
],
"minimum-stability": "dev"
}
命令行:
C:\xampp\htdocs\test> composer require typo3/minimal:^9.5
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
Writing lock file
Generating autoload files
Generating class alias map file
Inserting class alias loader into main autoload.php file
C:\xampp\htdocs\test> composer require typo3/cms-tstemplate:^9.5
./composer.json has been updated
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
- don't install typo3/cms-core v9.5.0|don't install typo3/cms-core 9.5.x-dev
- don't install typo3/cms-core v9.5.0|remove typo3/cms-core 9.5.x-dev
- don't install typo3/cms-core v9.5.0|don't install typo3/cms-core 9.5.x-dev
- typo3/cms-tstemplate v9.5.0 requires typo3/cms-core 9.5.0 -> satisfiable by typo3/cms-core[v9.5.0].
- Installation request for typo3/cms-tstemplate 9.5 -> satisfiable by typo3/cms-tstemplate[v9.5.0].
- Installation request for typo3/cms-core (locked at 9.5.x-dev) -> satisfiable by typo3/cms-core[9.5.x-dev].
TYPO3的最新稳定LTS版本是9.5。版本10.0还没有发布,所以您只能获得开发版本 所以我建议从
composer require typo3/minimal:"^9.5"
对于所有其他TYPO3系统扩展,您可以采用相同的方式:
composer require typo3/cms-tstemplate:"^9.5"
嘿,我的.json
typo3/minimal中有“^9”。5@dev
我不能要求tstemplate 9.5。我也犯了同样的错误。9.5和9之间有区别吗。5@dev?我刚刚又测试了一次,对我来说,即使是composer require typo3/minimal
和composer require typo3/cms tstemplate
都可以完美地获得typo3 9.5。你能发布你完整的composer.json
吗?嘿,我编辑了这个问题,你能再检查一下吗。我还尝试删除锁并再次安装。相同的错误输出。我假设您已经手动创建了composer.json?只需在空白目录中使用composer require typo3/minimal
或从composer.json中删除“minimal stability”:“dev”
。嘿,谢谢您删除dev,但我可以问一下原因吗?