• liangzhi zhan
  • NEWBIE
  • 5 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
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