Proxy component throwing error (Uncaught TypeError: window.CQ.CoreComponents is undefined)
Hi - I've been struggling with my proxy Accordion component for a few days now. I've tested many different scenarios with varying degrees of success. From the simplest setup with only the single component node (allowing everything from /libs to be referenced), to copying all files (from GitHub) to my proxy component - I'm always getting JS errors in my browser console (depending on the scenario, the errors are related to window.CQ, CQ.CoreComponents, or Coral being undefined). Note that I can successfully add, configure, and preview the component - it's just some of the editing/runtime functionality that is not working.
I am new to AEM, and am working on a project setup by a third party (which is no longer available). I was instructed to create a /clientlibs/site/webpack.include.js file to load the component less/js (instead of relying on the supplied .txt files) due to 'the way the project is setup' - which helped - but I have a feeling this 'setup' is the main reason the CQ/Coral objects/items aren't 'available' to the JS.
Any guidance would be very much appreciated.
Using AEM 6.5.5.0