SAP Knowledge Base Article - Preview

3395649 - SAP UI5 1.119.0 loading library issue - Example: ModuleError: failed to execute module factory for ''sap/insights/library.js'

Symptom

  • SAPUI5 1.119.0 error loading libraries
  • Example 1: When using a Fiori Application like: My Inbox
                                                         |__Vendor Invoice Approval
                                                              |__When clicking F4 to get information about the field and application loading failed :"*.*maininit with the following error:

    ~~~~Error~~~~~

    Error likely caused by:
    ModuleError: failed to execute module factory for ''sap/insights/library.js'
     -> 'sap/viz/library.js'': Failed to execute 'sap/viz/library.js': Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src *  data: blob:". at we (https://sapui5.hana.ondemand.com/1.119.0/resources/sap/fiori/appruntime-min-0.js:15:6645)
        at ge.failWith (https://sapui5.hana.ondemand.com/1.119.0/resources/sap/fiori/appruntime-min-0.js:15:4709)
        at c
    ~~~End error~~~~


Read more...

Environment

SAPUI5 1.119.0

Product

SAPUI5 1.0

Keywords

"SAPUI5 patch update","SAPUI5 upgrade","SAPUI5 1.119.0 issue","SAPUI5 1.119.1","failed to execute module factory"," Failed to execute 'sap/viz/library.js'","F4 error","SAP Fiori F4","F4 produces error to load library","VIZ library","sap/viz/library.js","sap/insights/library.js" , KBA , CA-FLP-EXT-INS , SAP Insights , CA-UI5-DLV , UI5 ABAP delivery tools , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.