Starting this morning we are having trouble with our custom build of the ArcGIS API for Javascript. The bower install complains about a missing dojo-theme package:
bower dojo-themes#1.13.0 ENORESTARGET No tag found that was able to satisfy 1.13.0.
After checking the dojo-themes on github it apears the dojo/thems for Dojo 1 has been moved to dijit/themes, see: GitHub - dojo/themes: Dojo 2 themes
Somewhere in the ArcGIS API for Javascript configuration files must be a reference to the Dojo thems but I can't find. Can you at Esri fix this problem?
Thanks in advance!
Solved! Go to Solution.
I just tried it and it looks like bower install dojo-themes#1.13.0 is pulling from the dijit-themes repo.
You can try bower cache clean and run it again.
I'm not currently able to reproduce using Bower 1.8.2.
You could try to override in your project in the bower.json like this.
"resolutions": {
"dojo": "v1.13.0/esri-3.23.0",
"dijit": "v1.13.0/esri-3.23.0",
"dojox": "v1.13.0/esri-3.23.0",
"util": "v1.13.0/esri-3.23.0",
"dojo-themes": "dijit-themes#1.13.0",
"dgrid1": "v1.13.0/esri-3.23.0",
"dstore": "1.1.2"
}
There must be a redirect in Bower in place because the main dojo/util library that has this dependency is not updated to reflect the repo name change and it is still working.
Something may have changed in the last couple of days, but it doesn't look like we need to change anything at the moment.
odoe can you look at this problem? It must be somewhere in the dojo projects forked by esri. The problems prevents our custom builds to download the libaries.
Thanks in advance!
This was a change that Dojo just made this week. We'll need to figure out how to sort it out by patching the releases on our end.
Ok Rene we will wait for that. In the meantime we have a workaround for our development environment.
I just tried it and it looks like bower install dojo-themes#1.13.0 is pulling from the dijit-themes repo.
You can try bower cache clean and run it again.
I'm not currently able to reproduce using Bower 1.8.2.
You could try to override in your project in the bower.json like this.
"resolutions": {
"dojo": "v1.13.0/esri-3.23.0",
"dijit": "v1.13.0/esri-3.23.0",
"dojox": "v1.13.0/esri-3.23.0",
"util": "v1.13.0/esri-3.23.0",
"dojo-themes": "dijit-themes#1.13.0",
"dgrid1": "v1.13.0/esri-3.23.0",
"dstore": "1.1.2"
}
There must be a redirect in Bower in place because the main dojo/util library that has this dependency is not updated to reflect the repo name change and it is still working.
Something may have changed in the last couple of days, but it doesn't look like we need to change anything at the moment.
That's working!
Thanks alot Rene, you saved my day!