Can't uninstall default search module

Created on 26 February 2022, about 3 years ago
Updated 21 January 2025, 2 months ago

Dear Sirs,
Good day.
I built a new site today with the latest drupal and commerce with code: composer create-project drupalcommerce/project-base mystore --stability dev.
I want to config the search page according to the tutorial: https://docs.drupalcommerce.org/commerce2/developer-guide/products/marke....
But when I uninstall the Core Search module, I can't do it due to this module required by: commerce_base.
So I don't know how to uninstall the search module, please kindly help.
If you need any further information, please let me know.
Thank you.

🐛 Bug report
Status

Active

Version

2.40

Component

Other

Created by

🇨🇳China HenryJee6688

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany heliogabal Berlin

    I have the same problem on a current 2.40 install. I found the dependency declared in the profile's commerce_base.info.yml in web/profiles/contrib/commerce_base. I deleted the line with - search in the file, then I could uninstall the search module without further problems.

    As I understand, this is more of a question of performance, so should we just ignore it for now? Or is this just a leftover and I can just delete this dependency and uninstall the search without any problems? Could this be fixed in a newer version of the profile?

  • 🇮🇱Israel jsacksick

    Closing this as "won't fix". The project base template isn't the composer template that is actively maintained. We now recommend using the Kickstart project template. see https://docs.drupalcommerce.org/.

Production build 0.71.5 2024