Uncaught Assertion Failed!: Descriptor for Config required for registration : undefined Callback failed

i found the error, it was very dumb... in a different component that i use there was an aura:if block that was empty and did nothing, and made everything fail. after i removed it, it worked fine


You'll also see this error if you have an empty else tag.

<aura:set attribute="else"></aura:set>

Do this instead

<aura:set attribute="else"><span></span></aura:set>

The names of your apex method and the helper controller js in your lightning components should not be same .This triggers a recursion .

Please update the name of your helper to something else

getAccountsFromServer: function(component) {  
 /// Rest of the code
}