Dependencies 使用TYPO3爬虫和TYPO3 10.2的依赖循环

Dependencies 使用TYPO3爬虫和TYPO3 10.2的依赖循环,dependencies,composer-php,typo3,typo3-10.x,Dependencies,Composer Php,Typo3,Typo3 10.x,爬虫程序的TYPO3v9分支也应该与TYPO3 10.2一起工作(至少大部分)。但是我得到了一个关于循环依赖性的bug报告,不是来自composer,而是来自扩展激活后的类加载 Your dependencies have cycles. That will not work out. Cycles found: aoe/crawler/initialization->typo3/cms-frontend/authentication, aoe/crawler/initializati

爬虫程序的TYPO3v9分支也应该与TYPO3 10.2一起工作(至少大部分)。但是我得到了一个关于循环依赖性的bug报告,不是来自composer,而是来自扩展激活后的类加载

Your dependencies have cycles. That will not work out. Cycles found: 

aoe/crawler/initialization->typo3/cms-frontend/authentication,
aoe/crawler/initialization->typo3/cms-frontend/tsfe,
typo3/cms-core/normalized-params-attribute->typo3/cms-frontend/timetracker,
typo3/cms-frontend/authentication->typo3/cms-frontend/backend-user-authentication,
typo3/cms-frontend/authentication->typo3/cms-frontend/maintenance-mode,
typo3/cms-frontend/authentication->typo3/cms-frontend/site,
typo3/cms-frontend/backend-user-authentication->typo3/cms-frontend/site,
typo3/cms-frontend/base-redirect-resolver->typo3/cms-frontend/site-resolver,
typo3/cms-frontend/eid->typo3/cms-core/normalized-params-attribute,
typo3/cms-frontend/maintenance-mode->typo3/cms-core/normalized-params-attribute,
typo3/cms-frontend/maintenance-mode->typo3/cms-frontend/eid,
typo3/cms-frontend/page-argument-validator->typo3/cms-frontend/page-resolver,
typo3/cms-frontend/page-resolver->aoe/crawler/initialization,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/authentication,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/backend-user-authentication,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/site,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/static-route-resolver,
typo3/cms-frontend/preview-simulator->typo3/cms-frontend/authentication,
typo3/cms-frontend/preview-simulator->typo3/cms-frontend/backend-user-authentication,
typo3/cms-frontend/site->typo3/cms-core/normalized-params-attribute,
typo3/cms-frontend/static-route-resolver->typo3/cms-frontend/base-redirect-resolver,
typo3/cms-frontend/tsfe->typo3/cms-frontend/authentication,
typo3/cms-frontend/tsfe->typo3/cms-frontend/eid,
typo3/cms-frontend/tsfe->typo3/cms-frontend/page-argument-validator,
typo3/cms-frontend/tsfe->typo3/cms-frontend/page-resolver,
typo3/cms-frontend/tsfe->typo3/cms-frontend/preview-simulator

我真的不知道该怎么处理。任何建议

这是
composer.json
,以备需要

{
    "name": "tnm/typo3v10-test",
    "type": "project",
    "description": "",
    "require": {
        "typo3/minimal": "^10.2",
        "typo3/cms-introduction": "~4.0",
        "typo3/cms-tstemplate": "^10.2",
        "typo3/cms-info": "^10.2",
        "typo3/cms-belog": "^10.2",
        "bk2k/bootstrap-package": "*",
        "aoepeople/crawler": "dev-typo3v9"
    },
    "config": {
        "vendor-dir": "vendor",
        "bin-dir": "bin"
    },
    "extra": {
        "typo3/cms": {
            "cms-package-dir": "{$vendor-dir}/typo3/cms",
            "web-dir": "public"
        }
    }
}

我忘了这个问题还没解决,但我有一个解决办法

这是由于中间件注册错误造成的

Separate middleware initialization (#527)

The frontend usergroup needs to be set before the typo3/cms-frontend/page-resolver is processed. At that time the TSFE controller isn't initialized yet, so the TSFE configuration needs to be done at a later point.