<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Esri Loader, Dojo.js injection problems, cannot read property 'insertBefore' of null errors in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-loader-dojo-js-injection-problems-cannot-read/m-p/694243#M64564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #24292e;"&gt;In my Angular application&amp;nbsp;I implemented map with Esri Loader. It is solution working on &lt;STRONG&gt;PRODUCTION SYSTEM&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;RELATED GITHUB TICKET:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://github.com/Esri/jsapi-resources/issues/196" title="https://github.com/Esri/jsapi-resources/issues/196"&gt;Cannot read property 'insertBefore' of null errors in Opera, Chrome, Mozilla, Safari. · Issue #196 · Esri/jsapi-resource…&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;with no answer.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;TICKET CLOSED BY esri loader team with no solution:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://github.com/Esri/esri-loader/issues/154" title="https://github.com/Esri/esri-loader/issues/154"&gt;Cannot read property 'insertBefore' of null errors in Chrome (only) · Issue #154 · Esri/esri-loader · GitHub&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2019 18:55:43 GMT</pubDate>
    <dc:creator>KrzysztofMroczek</dc:creator>
    <dc:date>2019-11-25T18:55:43Z</dc:date>
    <item>
      <title>Esri Loader, Dojo.js injection problems, cannot read property 'insertBefore' of null errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-loader-dojo-js-injection-problems-cannot-read/m-p/694243#M64564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #24292e;"&gt;In my Angular application&amp;nbsp;I implemented map with Esri Loader. It is solution working on &lt;STRONG&gt;PRODUCTION SYSTEM&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;RELATED GITHUB TICKET:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://github.com/Esri/jsapi-resources/issues/196" title="https://github.com/Esri/jsapi-resources/issues/196"&gt;Cannot read property 'insertBefore' of null errors in Opera, Chrome, Mozilla, Safari. · Issue #196 · Esri/jsapi-resource…&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;with no answer.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;TICKET CLOSED BY esri loader team with no solution:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://github.com/Esri/esri-loader/issues/154" title="https://github.com/Esri/esri-loader/issues/154"&gt;Cannot read property 'insertBefore' of null errors in Chrome (only) · Issue #154 · Esri/esri-loader · GitHub&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 18:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-loader-dojo-js-injection-problems-cannot-read/m-p/694243#M64564</guid>
      <dc:creator>KrzysztofMroczek</dc:creator>
      <dc:date>2019-11-25T18:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Esri Loader, Dojo.js injection problems, cannot read property 'insertBefore' of null errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-loader-dojo-js-injection-problems-cannot-read/m-p/1543054#M85772</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/302154"&gt;@KrzysztofMroczek&lt;/a&gt;&amp;nbsp;, 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.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 14:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-loader-dojo-js-injection-problems-cannot-read/m-p/1543054#M85772</guid>
      <dc:creator>BryanMc</dc:creator>
      <dc:date>2024-09-26T14:39:12Z</dc:date>
    </item>
  </channel>
</rss>

