Hello, i'm having a problem with my custom widget failing to load 80% of the time, i have to keep refreshing the page until the map and widget loads correctly. It shows the message fail to load on the widget and Creating map failed on the map.
I have plenty of errors in the console when this happens, you can find a screenshot of the console state.
Solved! Go to Solution.
I guess you import some maps SDK modules in the widget like this "import {} from 'esri/...'". If this is the case, please add the "dependency": "jimu-arcgis" in your widget manifest.
I guess you import some maps SDK modules in the widget like this "import {} from 'esri/...'". If this is the case, please add the "dependency": "jimu-arcgis" in your widget manifest.