RangeError when updating from 4.19 to 4.24.

316
1
12-07-2022 04:36 AM
ae
by
Occasional Contributor II

I'm updating my app from using 4.19 to 4.24. The app uses webpack, es-modules and Vue 2. I use vuex in the project but not for storing anything related to the map. 

After updating to version 4.24 (all I had to do as far as I could see in the documentation was to change some import paths - based on the list of breaking changes in each release up to 4.24) I now get a bunch of rangeerrors: 

lang.js?8675:formatted:150 Uncaught (in promise) RangeError: Maximum call stack size exceeded
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)
at m (lang.js?8675:formatted:150:NaN)

This seems really strange... The errors occurs when creating an Editor widget, and when calling the create("polygon") on an instance of the draw widget.

Does anyone have any clue what is going on here? 

 

Tags (3)
1 Reply
AndyGup
Esri Regular Contributor

Hi @ae my recommendation is provide a simple github repo that you can share and that reproduces the issue. Since that is most likely a recursion error we'll need an example.

0 Kudos