This is the carousel.html in the carousel component in order to extend the carousel.
At this point the error in Preview Mode is show below
org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.api.request.RecursionTooDeepException: /content/corp-home/home/jcr:content/root/responsivegrid/carousel
Cannot serve request to /content/corp-home/home.html on this server
ApacheSling/2.6 (jetty/9.4.11.v20180605, Java HotSpot(TM) 64-Bit Server VM 1.8.0_201, Mac OS X 10.14.3 x86_64)
and in Edit (Authoring) Mode the Carousel Dialog isn't able to add new components.
It seems like the problem occurs around data-sly-use.carousel since the component isn't able to read any carousel.items after data-sly-repeat.item. However it is able to read an item size for carousel.items.size.
I was able to resolve the issue! It was something really really silly.
When I initially pulled the git code for Core Components and built them to my local I ran
mvn clean install
However, I should have run
mvn clean install -PautoInstallPackage
I didn't realize that -PautoInstallPackage was not automatically part of the mvn command. My mistake, force of habit!
Once I reran the command and the package was correctly built into my local the carousel was working correctly. I have gone ahead and named the new component 'mycarousel' instead of just 'carousel' and it's looking good!
We're trying to make use of the dialog from the Core Carousel. We want to eventually overwrite the HTML, CSS, and JS. However, even if we call the superType /carousel/v1/carousel... we're not able to use the dialog with AEM's own HTML as a proxy.
So let me see if I got this. You are trying to extend the Core Carousel component. You created a proxy component under APPS. You then copied the HTML from the Carousel component and placed it under your App proxy component and it stopped working?