I managed to create and run Dojo Web Builder with Jetty on my local host, but the following error appears: in the console, without leading to the absence of packages / modules that can be found in the module explorer window:
Image of Console and DWB Interface Error
I tried several different versions of Dojo.js (1.13, 1.8.0, 1.7.2, 1.6) and changed the Dojo.ource argument to submit to Jetty in several different ways, but to no avail.
Has anyone encountered this problem or which configuration files might need to be changed? I went through the instructions on their GitHub, but I could not find anything that I did not correctly configure or configure in the first place, except for the support of custom modules.
Edit:
The problem code is located in the compressed dwb.js file on line 6 ("name": pkge.name):
_packageModulesAvailable: function(_c54) {
var _c55 = [];
this.baseProfile.packages = [];
dojo.forEach(_c54, dojo.hitch(this, function(pkge) {
this.baseProfile.packages.push({
"name": pkge.name,
"version": pkge.version
});
dojo.forEach(pkge.modules, dojo.hitch(this, function(_c56) {
var item = this._generateModuleGridItem(pkge.name, _c56);
_c55.push(item);
}));
}));
this.store = new dojox.data.AndOrWriteStore({
data: {
"identifier": "name",
"items": _c55
}
});
this.module_grid.setStore(this.store);
this.analysePane.set("globalModulesStore", this.store);
this.updateModuleFilter();
},
source
share