Failed to save undefined: No COMPONENT named markup://svg found :

Followed the Trailhead tutorial and I still get the same error about svg.

The code I am using is taken from the Lightning Design System.
I created the supporting files as specified in the tutorial.
Here is a snippet of the Component code (just note not all the code is included since it came directly from the LDS. The error is (Failed to save undefined: No COMPONENT named markup://svg found : [markup://michelleemanuel:forecastPlanComponent]: Source). Some of the other responses I saw said to read the tutorial – I have gone down that path and it did not work. I am not invoking this from a Visualforce page but from a Component.

<table class="slds-table slds-table--bordered slds-max-medium-table--stacked-horizontal">

select all

Opportunity Name




Starting Spring ’17, the svgIcon component has been deprecated in favor of the lightning:icon component

    <lightning:icon iconName="action:approval" size="large" alternativeText="Indicates approval"/>

Source : Link , Question Author : user28677 , Answer Author : glls

Leave a Comment