Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error on cms-skeleton install 7.1 branch #3384

Closed
delboy1978uk opened this issue Apr 2, 2024 · 2 comments
Closed

Error on cms-skeleton install 7.1 branch #3384

delboy1978uk opened this issue Apr 2, 2024 · 2 comments

Comments

@delboy1978uk
Copy link
Contributor

delboy1978uk commented Apr 2, 2024

My work colleague was trying to do a fresh Kuma skeleton install using the 7.1 branches in order to verify that he could reproduce the error I reported in #3350 .

However, now, upon the composer install, once it got to clearing cache, the following error occurred:

The service "sensio_framework_extra.controller.listener" has a dependency on a non-existent service "annotation_reader".

So we were unable to get as far as I did in the other issue in order to verify.

@acrobat
Copy link
Member

acrobat commented Apr 2, 2024

That's because 7.1 still has a dependency on sensio/framework-extra-bundle (this dependency is removed in 7.2 and available in the 7.x branch, see #3378) because it uses annotations. In the default symfony 6.4 framework bundle annotations support is disabled by default, see https://github.com/symfony/recipes/blob/main/symfony/framework-bundle/6.4/config/packages/framework.yaml#L5.

So to make it work you need to switch framework.annotations: true

@acrobat acrobat closed this as completed Apr 2, 2024
@delboy1978uk
Copy link
Contributor Author

thanks for clarifying! :-D

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants