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 oj namespace is undefined, locate the module that contains it based on the information in Oracle JET Module Organization and add it to your application.

  • If the Oracle JET widgets 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/ojknockout module to your application.