Answers.Body: <p>Just found out!</p>
  <p>The call was made by <strong>searchList.controller.js</strong> which is automatically loaded from <em>civicrm/ext/search_kit/ang/crmSearchAdmin/</em></p>
  <p>But this file has been removed in CiviCRM 5.42 and its deletion was omitted in one of my upgrades.</p>
  <p>just cleaned-up the directory:</p>
  <pre><code>rm civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.*
  </code></pre>
  <p>and everything goes fine.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-20T09:25:19.393Z
Answers.LastActivityDate: 2023-04-20T09:25:19.393Z
Answers.UserDisplayName: Bastien Ho
Body: <p>I have 1 local environment, 1 dev, 1 staging and 1 prod.</p>
  <p>Everything is fine on local and dev, but on staging and prod, the SearchKit page looks like that:</p>
  <p><a href="https://i.sstatic.net/I2P15.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/I2P15.png" alt="Screenshot of the broken SearchKit page displaying Twig" /></a></p>
  <p>The console says:</p>
  <pre><code>Error: [$injector:unpr] Unknown provider: savedSearchesProvider &lt;- savedSearches &lt;- searchList
  https://errors.angularjs.org/1.8.2/$injector/unpr?p0=savedSearchesProvider%20%3C-%20savedSearches%20%3C-%20searchList
      Angular 39
      jQuery 2
      &lt;anonymous&gt; Angular
      jQuery 7
      &lt;anonymous&gt; Common.js:1606
      jQuery 8
   &lt;div ng-view=&quot;&quot; class=&quot;ng-scope&quot;&gt;
  </code></pre>
  <p>I tried to cleanup groups and saved searches, as suggested in <a href="https://civicrm.stackexchange.com/questions/40125/search-kit-list-display-broken">Search kit list display broken</a> with no results.</p>
  <p>I've cleaned-up the cache to.</p>
  <p>Why am I stuck like this?</p>
  
Tags: <searchkit><angular>
Title: Search kit broken and templates not parsed
ThreadText: # Search kit broken and templates not parsed
  
  (Asked by: username_0 on 2023-04-12)
  
  I have 1 local environment, 1 dev, 1 staging and 1 prod.
  
  Everything is fine on local and dev, but on staging and prod, the SearchKit page looks like that:
  
  [![Screenshot of the broken SearchKit page displaying Twig](https://i.sstatic.net/I2P15.png)](https://i.sstatic.net/I2P15.png)
  
  The console says:
  
  ```
  Error: [$injector:unpr] Unknown provider: savedSearchesProvider <- savedSearches <- searchList
  https://errors.angularjs.org/1.8.2/$injector/unpr?p0=savedSearchesProvider%20%3C-%20savedSearches%20%3C-%20searchList
      Angular 39
      jQuery 2
      <anonymous> Angular
      jQuery 7
      <anonymous> Common.js:1606
      jQuery 8
   <div ng-view="" class="ng-scope">
  
  ```
  
  I tried to cleanup groups and saved searches, as suggested in [Search kit list display broken](https://civicrm.stackexchange.com/questions/40125/search-kit-list-display-broken) with no results.
  
  I've cleaned-up the cache to.
  
  Why am I stuck like this?
  
  **Tags:** searchkit, angular
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-04-20. Score: 2 | Accepted answer
  
  Just found out!
  
  The call was made by **searchList.controller.js** which is automatically loaded from *civicrm/ext/search\_kit/ang/crmSearchAdmin/*
  
  But this file has been removed in CiviCRM 5.42 and its deletion was omitted in one of my upgrades.
  
  just cleaned-up the directory:
  
  ```
  rm civicrm/ext/search_kit/ang/crmSearchAdmin/searchList.*
  
  ```
  
  and everything goes fine.
  
  
  ---
  
  