Accordion Menu Not working 6.7.3

When upgrading my site from older versions of Django and Python i lost the Accordion Menu.

I am getting this error:

TypeError: this.$element.find(’[data-submenu]’).not(’.is-active’).slideUp is not a function. (In ‘this.$element.find(’[data-submenu]’).not(’.is-active’).slideUp(0)’, ‘this.$element.find(’[data-submenu]’).not(’.is-active’).slideUp’ is undefined)

The other menus like Dropdown and Drilldown still work fine. No issues with any other functions.

I used the latest version and also went back to older versions like 6.6.1. Same errors.

<ul class="vertical menu accordion-menu" data-accordion-menu>
  <li>
    <a href="#">Item 1</a>
  <ul class="menu vertical nested">
    <li><a href="#">Item 1A</a></li>
    <li><a href="#">Item 1B</a></li>
  </ul>
 </li>
  <li><a href="#">Item 2</a></li>
</ul>

I installed via NPM and i set up based upon this github code.

foundation-sites-template /blob /master/scss/_settings.scss

thank you for your support. would love to know what i am doing wrong?

this shows the Drilldown working and the accordian not working.