‎2024 Jun 07 2:33 PM - edited ‎2024 Jun 13 4:06 PM
Hello Experts,
I have followed the below tutorial to create a Fiori Elements application.
Create an Incident Management App with SAP Fiori Elements for OData V4
I can execute the project locally, but after deploying it to BTP Cloud Foundry, I am getting the below error. This comes when I try to open the object page. And the object page does not load.
version : 1.124.0
Any idea here how to resolve? Below is the code repository:
CSPanda21/CAP_FioriElement: CAP project with Fiori elements (github.com)
SAP Fiori Elements SAP Fiori Launchpad SAP Fiori Cloud
ERROR:
Failed to resolve dependencies of 'sap/gantt/simple/GanttChartContainer.js'
-> 'sap/gantt/library.js'
-> 'sap/gantt/config/Mode.js': failed to execute module factory for ''sap/gantt/library.js'
-> 'sap/gantt/config/Mode.js'': Failed to execute 'sap/gantt/config/Mode.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:".
Request clarification before answering.
The browser reports "Refused to evaluate a string as JavaScript". See the answer I've shared at How to Fix "String as JavaScript" Errors in FLP? (Async Module Loading) - Stack Overflow in order to resolve the CSP issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.