Esri Loader, Dojo.js injection problems, cannot read property 'insertBefore' of null errors

577
0
11-25-2019 10:55 AM
KrzysztofMroczek
New Contributor

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 ·... 

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 ... 

0 Kudos
0 Replies