In my Angular application I implemented map with Esri Loader. It is solution working on PRODUCTION SYSTEM.
I use Pusher.js for some communications. Randomly map does not show. I found that your dojo.js is trying to inject url to pusher script.. the screenshot for evidence. My question is how to workaround that problem. I guess dojo.js is wrong selecting script tag, for injecting your scripts to header tag.
RELATED GITHUB TICKET:
Cannot read property 'insertBefore' of null errors in Opera, Chrome, Mozilla, Safari. · Issue #196 · Esri/jsapi-resource…
with no answer.
TICKET CLOSED BY esri loader team with no solution:
Cannot read property 'insertBefore' of null errors in Chrome (only) · Issue #154 · Esri/esri-loader · GitHub
Hi @KrzysztofMroczek , did you ever find a solution to this? This just started happening to us recently as well. Any thoughts are appreciated. JS API 4.28 and issue is recent and in Edge/Chrome, but not FF.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.