Closed prudhvi-rajkumar closed 4 years ago
@prudhvi-rajkumar which pull request are you referring to?
Oh sorry, not pull request, on 13th April commit with dda944664787af96e0ab528b098382f1b5e2fa0c, made the file changes from .otherwise() to .catch(), but didn't rolled out to the release. This results in ArcGIS API failed to load the message I'm getting when I'm using Web scene.
May I get any help on this?
I've noticed the same thing and as you say it's the 'otherwise' that causes the issue. My temporary fix is to modify ArcComposites.js in node_modules and change 'otherwise' to 'catch'. That stops the error for me and my app is able to load.
@sevenninety @prudhvi-rajkumar The otherwise
vs catch
changes from #178 were released in v5.1.0 - please test and let us know if there are any issues. Thanks!
This is still happening with WebScene. No issues with Scene.
Also reported here: https://github.com/Esri/react-arcgis/issues/54
@kkarkos thanks for the report. I'm not totally sure this is the same issue (Even though same error message). Could be the same, just not sure - could you please open a new issue with a reproducible test case on the latest release so we can look into it? Thanks!
This issue is happening in this code block:
The last block of otherwise is causing the error, as it is not catching the promise to reject it back. I have found that in your pull request, but not moved to the release. Could you help us in using the WebScene?