function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sumit Budhiraja 9133Sumit Budhiraja 9133 

Uncaught TypeError: Cannot read property 'expando' of undefined throws at /resource/jQuery

<aura:component >
     <ltng:require scripts="{!join(',', 
    $Resource.jquery + '/jquery.js', 
    $Resource.tipsyjs + '/tipsy.js',
    $Resource.d3 + '/d3.js',
    $Resource.d3chartline + '/d3chartline.js')}"
NagendraNagendra (Salesforce Developers) 
Hi Sumit,

May I suggest you please check with below link from the community forums which might help you further with the above requirement. Please let us know if this helps.

K. Nandeeswara RajuK. Nandeeswara Raju
Hi Sumit,
Even I faced this issue. I had a static resource named "basicstyle" in my org and it had a js file "jquery-1.11.1.min.js".
At that time I used the below line to add the static resource:
<ltng:require scripts="/resource/basicstyle/js/jquery-1.11.1.min.js" afterScriptsLoaded="{!c.afterScriptsLoaded}" />

When I had like this, I faced the same error as you have mentioned.

Then I downloaded the latest Production JQuery X.X.1 from So I changed the above mentioned line to something like below:
<ltng:require scripts="/resource/basicstyle/js/jquery-3.3.1.min.js" afterScriptsLoaded="{!c.afterScriptsLoaded}" />

That's all It fixed my issue :) 

I am very sure that you would have got the solution by now. But it is just for some one like me :)

Nandeeswara Raju