The dojo My dojo application crashes after assembly during application loading, throwing 'multipleDefine' and throwing this error:
Error {src: "dojoLoader", information: object}
Message: multipleDefine
info: Object {pid: "dojo", mid: "dojo / nls / dojo_en-us", pack: Object, url: "dojo / nls / dojo_en-us.js, executed: 5 ...}
Here is my profile:
var profile = {
}
and here is index.html inside src /
NOTE. build.sh is responsible for removing the "isDebug" flag when deploying to production. If you change this flag at all, you will break the assembly!
<script data-dojo-config="async: 1, tlmSiblingOfDojo: 0, locale:'en_US', isDebug: 1" src="dojo/dojo.js"></script> <script src="app/run.js"></script>
this is the generated index.html in dist /
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="app/resources/app.css"> </head> <body class="claro"> <script data-dojo-config= "async: 1, tlmSiblingOfDojo: 0, locale:'en_US', deps:['app/run']" src="dojo/dojo.js"></script> </body> </html>
I checked that dojo / nls / dojo_en-us.js exists and that is normal. I am stuck at this point, having no idea!
Any help in solving this problem is welcome.
dojo dojo-build locale nls
nvd_ai
source share