I cannot uninstall Ubercart. I have installed a fresh blank copy of Drupal and Ubercart 8.x-4.x-dev and I can reproduce the issue.

Drupal 8.2.5
Ubercart 8.x-4.0-dev
Installed Cart, Country, Order, Product, and Store.

Uninstall Cart
Uninstall Order
Uninstall Product
Uninstall Store
When Uninstalling Country I get
RouteNotFoundException: "Route "entity.uc_country.collection" does not exist." at /[DrupalPath]/core/lib/Drupal/Core/Routing/RouteProvider.php line 187


TrailWiki created an issue. See original summary.

TR’s picture

Title: "Route "entity.uc_country.collection" does not exist." » Route "entity.uc_country.collection" does not exist.
Issue summary: View changes
Issue tags: -uninstall
Related issues: -#2814139: Uninstall Order Module
apsylone’s picture

It's the "Country" module which cause this bug.

TR’s picture

Priority: Normal » Minor

No, it's the local task definition in the uc_store module. I just haven't had a chance to test the fix yet.