To confirm that you must use the built-in version of jQuery mobile, and you must include it before the require.js tag like this, note that jquery is included as a script tag, since jQuery mobile depends on it:
<script src="scripts/jquery.js"></script> <script src="scripts/jquery.mobile.js"></script> <script src="scripts/require.js" data-main="scripts/app"></script>
I expect this to work. The error you see can be generated if you have such scripts:
<script src="scripts/require.js" data-main="scripts/app"></script> <script src="scripts/jquery.js"></script> <script src="scripts/jquery.mobile.js"></script>
I am considering this issue with RequireJS, not jQuery mobile, which I want to fix for RequireJS 1.1. But the first set of script tags should work.
If this is not the case, it would be interesting to know how your JS application module uses jQuery and jQuery mobile.
source share