I have a simple Lightning Component with a Canvas App embedded in it via the force:canvasApp tag.
<aura:component implements="forceCommunity:availableForAllPageTypes" access="global" > <div class="canvas-container"> <force:canvasApp developerName="canvasTutorial" namespacePrefix="canvasNameSpace"/> </div> </aura:component>
This works perfectly, when I include this in a Lightning App like so:
<aura:application > <c:CanvasTestComponent /> </aura:application>
However, when I try to drag the component into a section of the Community Builder, it does not work. Nothing actually happens. Upon opening the console, I get this error:
Anyone know if I'm missing something? I found this question here, but seems like no one has answered it and it seems pretty recent with Winter 17.