Forum Stats

  • 3,826,356 Users
  • 2,260,635 Discussions
  • 7,896,916 Comments

Discussions

Uncaught Error: Mismatched anonymous define() module: function(){return s}

sai.gssr
sai.gssr Member Posts: 26 Red Ribbon
edited May 15, 2022 12:07PM in Oracle JET

Hello!,

We have recently migrated from OracleJET v9.2.0 through 10.0.0 to 11.1.0.

Generated a release build using "ojet build android --release".

Opened Android Studio & ran the build to device directly. The following error is thrown:

Uncaught Error: Mismatched anonymous define() module: function(){return s

Not sure where the process went wrong. Can you please point me what is going wrong here. Any help is greatly appreciated.

The Debug("ojet build android") version of the app works fine on the device.

Thank you

[excuse me for the poor English sentences]

Answers

  • John 'JB' Brock-Oracle
    John 'JB' Brock-Oracle Posts: 2,793 Employee
    edited May 15, 2022 6:55PM

    What version of Nodejs are you using? ( run node -v to get this)

    What version of the JET CLI are you working with? (run ojet --version to get that information)

    What version of JET are you using for runtime? (look at your package.json file for this).

    Did you follow the JET Developer Guides Migration chapter to do the migration steps?

    sai.gssr