Composer issues using installation- missing class

I am having trouble doing a fresh install using composer.

with all requirements checked off, the install fails at creating databases due to a missing class.

Error: Class 'Doctrine\Common\Annotations\AnnotationReader' not found

This brings the install to a halt and have to start all over.

I have tried composer update with no effect

Try running this to get composer running on version 1 as per GitHub requirement https://github.com/concrete5/concrete5/commit/6c74c4c1722e0232e7db30fac65318d3d8d89222
composer self-update --1

1 Like

Thank you I will give this a shot.

the installation gets ‘killed’ and doesn’t get through

You need to add doctrine/annotations:^1.13.2 to your composer.json file.
This has been fixed in Concrete 9.0.2

1 Like