cancel
Showing results for 
Search instead for 
Did you mean: 

Why SAPUI5 Page is not Loading and my local sapui5 projects having ModuleError?

cafererhan59
Discoverer
0 Kudos

Flexible Programming Model Explorer from Tools - Demo Kit - SAPUI5 SDK

I can't access this url. At the same time, I cannot enter local projects that I created with VSCode. The error I get in both is common.

I'm generating new projects with latest version of Fiori tools. I'm sure there is no problem with project and that url. Why my browsers (Chrome, Edge, Firefox) cant launch these sites.

I also checked that website via Browserling. Thats OK.

This is the console log.

Failed to load component for container container - ModuleError: Failed to resolve dependencies of 'sap/fe/templates/library.js'<br> -> 'sap/fe/macros/library.js'<br>  -> 'sap/fe/macros/filter/type/MultiValue.js'<br>   -> 'sap/fe/macros/filter/type/Value.js': failed to execute module factory for ''sap/fe/macros/filter/type/Value.js'': U is not a function  <br> ModuleError: Failed to resolve dependencies of 'sap/fe/templates/library.js'<br> -> 'sap/fe/macros/library.js'<br>  -> 'sap/fe/macros/filter/type/MultiValue.js'<br>   -> 'sap/fe/macros/filter/type/Value.js': failed to execute module factory for ''sap/fe/macros/filter/type/Value.js'': U is not a function<br>    at p1 (https://sapui5.hana.ondemand.com/resources/sap-ui-core.js:53:213)<br>    at j1.failWith (https://sapui5.hana.ondemand.com/resources/sap-ui-core.js:40:43)<br>    at https://sapui5.hana.ondemand.com/resources/sap-ui-core.js:65:1556<br>Caused by: ModuleError: failed to execute module factory for ''sap/fe/macros/filter/type/Value.js'': U is not a function<br>    at p1 (https://sapui5.hana.ondemand.com/resources/sap-ui-core.js:53:213)<br>    at j1.failWith (https://sapui5.hana.ondemand.com/resources/sap-ui-core.js:40:43)<br>    at https://sapui5.hana.ondemand.com/resources/sap-ui-core.js:65:1205<br>Caused by: TypeError: U is not a function<br>    at https://sapui5.hana.ondemand.com/resources/sap/fe/macros/library-preload.js:370:10<br>;    at https://sapui5.hana.ondemand.com/resources/sap-ui-core.js:65:1013
Margot
Product and Topic Expert
Product and Topic Expert
0 Kudos

I checked the URL you posted above and it works for me. I also do not get these errors. Maybe this was a temporary issue?

cafererhan59
Discoverer
0 Kudos

I'm sure it's not a temporary issue. Also, as I said, I can't open the projects I created clearly.
I also tested with different computers and internet connections. Problem is on my pc.

Accepted Solutions (0)

Answers (1)

Answers (1)

FiratAsan
Active Participant
0 Kudos

Hello Cafer Erhan.

I had same problem and solved it . You should delete browser cookies and cache. That was solved my problem. That was interesting error. Because i had changed my sapui5 labrary in bootsrap. After that i could not open normal samples from fiori sdk webpage. It was giving sapui5 library errors for samples in my browser. I have deleted cookies and cache that done.