Troubleshooting RequireJS in an Oracle JET Application
RequireJS issues are often related to modules used but not defined.
Use the following tips when troubleshooting issues with your Oracle JET application that you suspect may be due to RequireJS:
-
Check the JavaScript console for errors and warnings. If a certain object in the
ojnamespace is undefined, locate the module that contains it based on the information in Oracle JET Module Organization or the Oracle JET Cookbook and add it to your application. -
If the components you specified using Knockout.js binding are not displayed and you are not seeing any errors or warnings, verify that you have added the
ojs/ojknockoutmodule to your application.