简体   繁体   中英

typo3/cms-tstemplate 10.0.x-dev requires typo3/cms-core 10.0.*@dev -> satisfiable by typo3/cms-core[10.0.x-dev]

Hello i am trying to install the latest lts of typo3. I am new to typo3 and just getting into it.

I chose composer since it it the easyest way to install.

On the website it says i need to use

require typo3/minimal

But when i try to add any other extenstions like

typo3/cms-tstemplate

I get this error.

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].

So what version do i need to adjust now, it is a bit confusing to read.

EDIT:

composer.json

{
    "name": "test",
    "description": "test",
    "type": "project",
    "require": {
        "typo3/minimal": "9.5"
    },
    "authors": [
        {
            "name": "John",
            "email": "test"
        }
    ],
    "minimum-stability": "dev"
}

Cmd line:

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].

The latest stable LTS version of TYPO3 is 9.5. Version 10.0 hasn't been released yet so you will only get at development version.

So I'd suggest to start with

composer require typo3/minimal:"^9.5"

For all other TYPO3 system extensions you can do it the same way:

composer require typo3/cms-tstemplate:"^9.5"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM