title: Uncaught TypeError: Cannot convert object to primitive value(zone-evergreen.js:171)
body: <p>In <strong>Angular 9</strong> (using Bootstrap 4 and Jquery 3.5.1). when clicking on bootstrap <em>collapse</em> button, I am getting an error on my browser console instead of a <em>dropdown</em> menu.</p>
  
  <p>I really don't know where exactly the error came from.</p>
  
  <pre><code>Can't convert object to primitive value(zone-evergreen:171).
  
  
  Uncaught Type Error: Cannot convert object to primitive value(zone-evergreen.js:171 )
      at RegExp.test (&lt;anonymous&gt;)
      at HTMLDivElement.&lt;anonymous&gt; (bootstrap.bundle.min.js:6)
      at Function.each (jquery.min.js:2)
      at S.fn.init.each (jquery.min.js:2)
      at S.fn.init.a._jQueryInterface [as collapse] (bootstrap.bundle.min.js:6)
      at HTMLDivElement.&lt;anonymous&gt; (bootstrap.bundle.min.js:6)
      at Function.each (jquery.min.js:2)
      at S.fn.init.each (jquery.min.js:2)
      at HTMLButtonElement.&lt;anonymous&gt; (bootstrap.bundle.min.js:6)
      at HTMLDocument.dispatch (jquery.min.js:2)
  </code></pre>