Esri / map-tools-template

Configurable application template that enables you to display an ArcGIS web map using a variety of tools.
Apache License 2.0
23 stars 32 forks source link

Can not run the app #3

Closed shivanit-cupertino closed 9 years ago

shivanit-cupertino commented 9 years ago

gives the error: http://js.arcgis.com/3.13/init.js

TypeError: n.specificity is undefined

arguments[a]);c[b+"/"+g]=k;k.$locale=n.specificity;r()})})},v=function(a){var c=...

kellyhutchins commented 9 years ago

Can you provide more details about when this error occurs?

shivanit-cupertino commented 9 years ago

I downloaded the API, in web enabled directly and browse it using IIS manager.

kellyhutchins commented 9 years ago

It works for me in that scenario. Are you running the app using http:// or file://?

shivanit-cupertino commented 9 years ago

using the loacl host http://localhost/map-tools-template-master/

shivanit-cupertino commented 9 years ago

SEC7118: XMLHttpRequest for http://www.arcgis.com/sharing/rest/portals/self?f=json required Cross Origin Resource Sharing (CORS). map-tools-template-master SCRIPT5007: Unable to set property '$locale' of undefined or null reference 3.13, line 58 character 28

kellyhutchins commented 9 years ago

Are you able to run other web apps? Maybe try downloading one of the samples from the JSAPI and seeing if it works. https://developers.arcgis.com/javascript/jssamples/#latest_samples

shivanit-cupertino commented 9 years ago

I can run Analysis - Create watersheds from the above link and it works. I have used map-tour and social-media-map tours api before and no complains.

kellyhutchins commented 9 years ago

I'm not sure what could be causing the issue. I can successfully download and run the template using my local web server. Are you using the default web map or did you replace the app to use one of your own?

shivanit-cupertino commented 9 years ago

i tried both

shivanit-cupertino commented 9 years ago

in fact I downloaded again and tried just now

kellyhutchins commented 9 years ago

I just asked a co-worker to test the download and it works for him too. I'm not sure what else to have you try. Perhaps its a permissions issue of some sort? Also which browser are you using to test with?

shivanit-cupertino commented 9 years ago

i have tried chorme, firefox , explorer

shivanit-cupertino commented 9 years ago

thanks for your help. not sure whats going wrong

shivanit-cupertino commented 9 years ago

you did not change anything in the downloaded version and it ran fine? right?

kellyhutchins commented 9 years ago

Correct you shouldn't need to modify anything in the app. It should just run.

shivanit-cupertino commented 9 years ago

I downloaded this one more time and it worked