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
Daniel RetaleatoDaniel Retaleato 

Custom Script Eval error on lightning application initial load

So I'm working on a legacy file at my new job and I'm getting this error:
Custom Script Eval error in the resource loaded using 'ltng:require' [[object Event]]
when a custom aura application is loaded for the first time. As I'm rooting around in the files, I came across this chunk of code:
<ltng:require 
    styles="{!join(',', 
    $Resource.bootstrap411 + '/css/bootstrap.min.css', 
    $Resource.bootstrapjqueryui, 
    $Resource.bootstrap411 + '/css/bootstrap-reboot.min.css',
    $Resource.datatables + '/datatables.min.css')}"
    scripts="{!join(',', 
    $Resource.jquery224, $Resource.bootstrap411 + '/js/bootstrap.min.js',
    $Resource.jqueryui + '/jquery-ui.min.js',
    $Resource.datatables + '/datatables.min.js',
    $Resource.moment)}"
    afterScriptsLoaded="{!c.scriptsLoaded}" />
which is what I'm assuming is throwing the error.
After changing the version of $Resource.jquery224 to $Resource.jquery340, I now get
Custom Script Eval error in the resource loaded using 'ltng:require' [SecureDOMEvent: [object Event]{ key: {"namespace":"c"} }]
Can anyone provide any insight as to why I might be getting these errors?
Thanks in advance
 
Raj VakatiRaj Vakati
Its looks like an issue with Locker service .. can you check the version of  Jquery is supporting the Locker service or not ?
liangzhi zhanliangzhi zhan
have you solved it??? I need your help