<?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 Refreshing Website Causes No Map Display and Numerous Console Errors in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refreshing-website-causes-no-map-display-and/m-p/1022708#M71600</link>
    <description>&lt;P&gt;Not sure what is going on, but I am using ES Modules to load arcgis. Every time I refresh via the browser, I receive numerous console errors and no map display. I will display the first few errors, but not all of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Refused to execute script from 'http://localhost:3000/app/user/assets/esri/core/workers/RemoteClient.js' because its MIME type ('text/html') is not executable.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[esri.core.workers] ErrorEvent {isTrusted: true, message: "Uncaught NetworkError: Failed to execute 'importSc…sri/core/workers/RemoteClient.js' failed to load.", filename: "blob:http://localhost:3000/f2214ea2-a5c4-40d8-a0a8-c68b3a5689ba", lineno: 1, colno: 1747, …}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[esri.widgets.Widget] widget-intl:locale-error esri.widgets.Attribution s {name: "intl:message-bundle-error", details: {…}, message: "Errors occurred while loading "esri/widgets/Attribution/t9n/Attribution""}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems as though, packages aren't getting loaded on a refresh?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 20:08:37 GMT</pubDate>
    <dc:creator>developerarce</dc:creator>
    <dc:date>2021-02-05T20:08:37Z</dc:date>
    <item>
      <title>Refreshing Website Causes No Map Display and Numerous Console Errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refreshing-website-causes-no-map-display-and/m-p/1022708#M71600</link>
      <description>&lt;P&gt;Not sure what is going on, but I am using ES Modules to load arcgis. Every time I refresh via the browser, I receive numerous console errors and no map display. I will display the first few errors, but not all of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Refused to execute script from 'http://localhost:3000/app/user/assets/esri/core/workers/RemoteClient.js' because its MIME type ('text/html') is not executable.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[esri.core.workers] ErrorEvent {isTrusted: true, message: "Uncaught NetworkError: Failed to execute 'importSc…sri/core/workers/RemoteClient.js' failed to load.", filename: "blob:http://localhost:3000/f2214ea2-a5c4-40d8-a0a8-c68b3a5689ba", lineno: 1, colno: 1747, …}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[esri.widgets.Widget] widget-intl:locale-error esri.widgets.Attribution s {name: "intl:message-bundle-error", details: {…}, message: "Errors occurred while loading "esri/widgets/Attribution/t9n/Attribution""}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems as though, packages aren't getting loaded on a refresh?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 20:08:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refreshing-website-causes-no-map-display-and/m-p/1022708#M71600</guid>
      <dc:creator>developerarce</dc:creator>
      <dc:date>2021-02-05T20:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing Website Causes No Map Display and Numerous Console Errors</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refreshing-website-causes-no-map-display-and/m-p/1089535#M74306</link>
      <description>&lt;P&gt;For anyone reading this in the future, I had the same problem and found the answer &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/erros-occurred-while-loading-widgets/td-p/1024673" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp;In particular, I had to change&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#assetsPath" target="_self"&gt;config.assetsPath&lt;/A&gt; from './assets' to '/assets'. The issue being that './assets' resolves to a different location if you refresh the page when you are not at the root of the website.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 09:12:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refreshing-website-causes-no-map-display-and/m-p/1089535#M74306</guid>
      <dc:creator>JoeFaulkner</dc:creator>
      <dc:date>2021-08-17T09:12:11Z</dc:date>
    </item>
  </channel>
</rss>

