For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
getting this issue, after doing ojet build --release tested using ojet serve -- release getting above error, please suggest.
What version of JET are you working with? This looks like you may have the script module hardcoded to main.js in your index.html file, and we change that name to bundle.js when using --release. In the more recent versions of the JET Starter templates, injector tags are using in the index.html to update the requirejs main module name at build time.
<!-- This injects script tags for the main javascript files --> <!-- injector:scripts --> <!-- endinjector -->
Ojet 9.2 migrated to Ojet 11
Look in your applications index.html for the lines that I provided above. If they don't exist and/or there are hardcoded strings for the require.js and main entries, add/replace with what I shared above.
<!-- This is the main css file for the default theme --> <!-- injector:theme --> <link rel="stylesheet" href="css/libs/oj/v9.2.0/redwood/oj-redwood-min.css" type="text/css" /> <!-- endinjector --> i have above code in my index.html,
That is not the same injectors that I posted about. Those are the theme injectors at the top of the file. Look at the bottom of your index.html file as I posted early.