Hi all,
I'm using ArcGIS for JavaScript 4.23.7 and I'm stuck with this problem. When I'm developing locally, in localhost url, the popup template from a webmap is showing correctly, but when I publish the application, the popup throws errors like this in the console:
[esri.widgets.FeatureViewModel] error The popupTemplate could not be displayed for this feature.
Spoiler"TypeError: t is not a function at ***HIDDEN_URL***/assets/index.720aedee.js:1449:61927 at String.replace (<anonymous>) at $g (***HIDDEN_URL***/assets/index.720aedee.js:1449:61865) at lNe (***HIDDEN_URL***/assets/index.720aedee.js:1518:57755) at ZT (***HIDDEN_URL***/assets/index.720aedee.js:1518:57594) at a._createTextVMParams (***HIDDEN_URL***/assets/index.720aedee.js:1521:59021) at a._compileText (***HIDDEN_URL***/assets/index.720aedee.js:1521:59232) at a._compileContentElement (***HIDDEN_URL***/assets/index.720aedee.js:1521:55520) at***HIDDEN_URL***/assets/index.720aedee.js:1521:55741 at Array.map (<anonymous>)"
Could anyone give me any directions on what may be causing this?
Thank you.