- Issue created by @cholasni
- 🇺🇸United States phenaproxima Massachusetts
Could you send your composer.lock file? (Don't paste it into a comment, it's huge, but you can attach it to a comment as an upload.) I have a possible theory on this one...
- 🇰🇪Kenya cholasni
I've checked the directory for the missing service and have found that it exists
Cannot autowire service "PhpTuf\ComposerStager\API\Exception\PreconditionException": argument "$precondition" of method "__construct()" references interface "PhpTuf\ComposerStager\API\Precondition\Service\PreconditionInterface" but no such service exists
I've attached the composer.lock it is attached, had to change it to txt file for it to be accepted
- 🇰🇪Kenya cholasni
Still not able to get past the Installer page still receiving the same error;
Tried a fresh install and downgraded to version 11.1.0 the error still persists.
I would love to give Drupal CMS RC a try but unfortunately I can't get it installed.Anyone with a fix?
- 🇺🇸United States phenaproxima Massachusetts
Give this a try...
rm -rf web/modules/contrib/automatic_updates/package_manager
Then try installing again?
- 🇮🇳India rohan_singh India
Hi @phenaproxima,
Getting the same issue. Attaching the screenshot for reference.
Tried running,
rm -rf web/modules/contrib/automatic_updates/package_manager
and installing again.Getting a different error this time,
Error: Call to a member function getPath() on null in drupal_cms_installer_theme_registry_alter()
- 🇺🇸United States phenaproxima Massachusetts
To deal with the TypeError, please see 🐛 Installer is broken in RC2 since release of 11.1.1 Active (delete the
web/profiles/drupal_cms_installer/cache
directory before trying the installation). And please be sure you're using Drupal 11.1.1. What happens then? - 🇰🇪Kenya cholasni
Much thanks phenaproxima →
Finally the install was a success, I can now test it.Here's what I did...
I deleted everything and restarted the install a fresh
1.composer install
till everything the files and autoloader files generated.
2. Deleted theweb/profiles/drupal_cms_installer/cache
directory.
3. Deleted theweb/modules/contrib/automatic_updates/package_manager
directory as directed
4. Began the installation of the Drupal CMS RC without any major issues.I'm still testing it and will update my experience accordingly.
Automatically closed - issue fixed for 2 weeks with no activity.