Je reçois l'erreur suivante lorsque vous essayez d'exécuter la commande suivante: bower install arcgis-js-api
Bower Installation de ne pas arcgis-js-api (incapable de trouver la version adaptée pour dojo)
J'ai essayé d'installer dans un nouveau répertoire et aussi après avoir créé un fichier de base bower.json. Recherche sur le Web a trouvé des personnes avec le problème, mais pas de solutions postées sur la façon de résoudre.
{
"name": "arcgis-js-api-sample-app",
"version": "1.0.0",
"license": "Apache-2.0",
"dependencies": {
"esri": "arcgis-js-api#3.15.0"
},
"resolutions": {
"dojo": "v1.10.4/esri-3.14.0"
}
}
Message d'erreur: charmille installer ECONFLICT arcgis-js-api Impossible de trouver la version adaptée pour dojo
Trace complète:
$ bower install arcgis-js-api
bower arcgis-js-api#* cached https://github.com/Esri/arcgis-js-api.git#4.3.1
bower arcgis-js-api#* validate 4.3.1 against https://github.com/Esri/arcgis-js-api.git#*
bower dojo#v1.12.1/esri-3.20.0 cached https://github.com/Esri/dojo.git#v1.12.1/esri-3.20.0
bower dojo#v1.12.1/esri-3.20.0 validate v1.12.1/esri-3.20.0 against https://github.com/Esri/dojo.git#v1.12.1/esri-3.20.0
bower util#v1.12.1/esri-3.20.0 cached https://github.com/Esri/dojo-util.git#v1.12.1/esri-3.20.0
bower util#v1.12.1/esri-3.20.0 validate v1.12.1/esri-3.20.0 against https://github.com/Esri/dojo-util.git#v1.12.1/esri-3.20.0
bower dojox#v1.12.1/esri-3.20.0 cached https://github.com/Esri/dojox.git#v1.12.1/esri-3.20.0
bower dojox#v1.12.1/esri-3.20.0 validate v1.12.1/esri-3.20.0 against https://github.com/Esri/dojox.git#v1.12.1/esri-3.20.0
bower dgrid#v1.1.0/esri-3.20.0 cached https://github.com/Esri/dgrid.git#v1.1.0/esri-3.20.0
bower dgrid#v1.1.0/esri-3.20.0 validate v1.1.0/esri-3.20.0 against https://github.com/Esri/dgrid.git#v1.1.0/esri-3.20.0
bower dijit#v1.12.1/esri-3.20.0 cached https://github.com/Esri/dijit.git#v1.12.1/esri-3.20.0
bower dijit#v1.12.1/esri-3.20.0 validate v1.12.1/esri-3.20.0 against https://github.com/Esri/dijit.git#v1.12.1/esri-3.20.0
bower dstore#1.1.1 cached https://github.com/SitePen/dstore.git#1.1.1
bower dstore#1.1.1 validate 1.1.1 against https://github.com/SitePen/dstore.git#1.1.1
bower moment#2.17.1 cached https://github.com/moment/moment.git#2.17.1
bower moment#2.17.1 validate 2.17.1 against https://github.com/moment/moment.git#2.17.1
bower dojo#>=1.8.9 cached https://github.com/dojo/dojo.git#1.12.2
bower dojo#>=1.8.9 validate 1.12.2 against https://github.com/dojo/dojo.git#>=1.8.9
bower dijit#1.12.1 cached https://github.com/dojo/dijit.git#1.12.1
bower dijit#1.12.1 validate 1.12.1 against https://github.com/dojo/dijit.git#1.12.1
bower dojox#1.12.1 cached https://github.com/dojo/dojox.git#1.12.1
bower dojox#1.12.1 validate 1.12.1 against https://github.com/dojo/dojox.git#1.12.1
bower dojo-themes#1.12.1 cached https://github.com/dojo/themes.git#1.12.1
bower dojo-themes#1.12.1 validate 1.12.1 against https://github.com/dojo/themes.git#1.12.1
bower dojo#>=1.8.1 cached https://github.com/dojo/dojo.git#1.12.2
bower dojo#>=1.8.1 validate 1.12.2 against https://github.com/dojo/dojo.git#>=1.8.1
bower dojo#1.12.1 cached https://github.com/dojo/dojo.git#1.12.1
bower dojo#1.12.1 validate 1.12.1 against https://github.com/dojo/dojo.git#1.12.1
bower ECONFLICT Unable to find suitable version for dojo
Merci pour la réponse. Je n'avais pas essayé de nettoyer le cache de bower, mais j'ai l'impression que c'était un problème distinct et j'ai pu trouver une solution que je viens de publier. – pureblur