Select to view content in your preferred language

failed to load Exp app

533
2
10-14-2022 02:35 AM
henrilebon974
Occasional Contributor

Hello,

I use experience builder developer edition 1.9.

I have a problem when I deploye my app. Sometime the app is loaded normally but the main part of the time the app failed to load. I have the console in attachment..

0 Kudos
2 Replies
henrilebon974
Occasional Contributor

My problem is created by an ESRI JS API import.

Please, somebody from ESRI could explain how import JS API in a sub component. Not directly in the widget.

How create an utils file that uses the JS API ?

Thanks.

0 Kudos
henrilebon974
Occasional Contributor

The problem had a problem because the JS API dependency was not in the manisfest.json of a widget.

"dependency": ["jimu-arcgis"]
 
The app worked in dev but not in deployment.
 
regards.
0 Kudos