cancel
Showing results for 
Search instead for 
Did you mean: 

Uncaught TypeError: Cannot read property 'require' of undefined - ShellRenderer-dbg.js:120

former_member628832
Discoverer
0 Kudos

Dear Experts,

I am not able to start my application, Both applications in debug mode (Run from Web IDE) and deployed are not opening because of the above error. Please find the screenshot attached.

SAP Cloud Platform, SAPUI5, XSJS and HANA DB. error.png

ramakrishnappa
Active Contributor
0 Kudos

Hi,

Try to see what are the resources loaded in developer tools (press: F12 ) and figure out where actually going wrong. if you analyse the NETWORK and Console sections, you would come to know more details.

Regards,

Rama

former_member628832
Discoverer
0 Kudos

Hello Ramakrishnappa,

I have analyzed all of them before and now also. Please find the attachments of screenshots for the same.

Also, According to my understanding I have found out that jQuery.sap.require is deprecated and there is a //TODO statement from the SAP developer saying "global jquery call found" at line 120 of ShellRenderer-dbg.js, where the code is failing exactly at this point.

sap-network.png

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi Virupaxgouda,

When we run the app it by default picks up the latest version. Try to run the app with the lower versions.

This problem might be if the code of the application is old and there might be huge update on fiori controls . Some old ones might be deprecated and some new controls added.

To change the version while running, follow the screenshot attached.

I hope this helps!!!

rounak_roy
Advisor
Advisor
0 Kudos

I also faced the same issue and solve it by pointing the UI5 version to 1.60

Thanks Pooja