<?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 Uncaught Network Error failed to load RemoteClient.js in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-network-error-failed-to-load-remoteclient/m-p/1605689#M86924</link>
    <description>&lt;P&gt;Hi - I've updgraded Maps SDK to 4.32 and have also upgraded Angular from 18 to 19. I'm getting a bunch of the following error and layers dont appear when I hit a map in my development/debug environment (visual studio code 1.84):&lt;/P&gt;&lt;P&gt;ErrorEvent {isTrusted: true, message: 'Uncaught NetworkError: Failed to execute 'im…nks/285dd7683f57d9d3667d.js' failed to load.', filename: '&lt;A href="http://localhost:4200/assets/esri/core/workers/RemoteClient.js" target="_blank"&gt;http://localhost:4200/assets/esri/core/workers/RemoteClient.js&lt;/A&gt;', lineno: 1, colno: 109155, …}&lt;BR /&gt;i2 @ c:\Angular\DigAlert\node_modules\@arcgis\core\core\Logger.js:98:12&lt;/P&gt;&lt;P&gt;Things I've done:&lt;/P&gt;&lt;P&gt;Verified that RemoteClient.js is within the folder above.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Changed the config.assetsPath from original:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;'assets/'; to /assets/ (and tried several others ./assets/, ../assets/)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Deleted my browser history&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;When I publish to my server test site there are no errors, so its definitely a local problem with my debug environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Strange:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;There are a number of maps in my app.&amp;nbsp; When I changed config.assetsPath from&amp;nbsp;&lt;SPAN&gt;'assets/'; to /assets/ in just one of the maps, everything worked -- no errors and layers appeared in all maps.&amp;nbsp; I thought I had the problem solved at that point, but when I changed&amp;nbsp;config.assetsPath to the new value in another map it started throwing errors again&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any ideas what I should try to get this fixed?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Pete&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2025 15:49:30 GMT</pubDate>
    <dc:creator>PeteVitt</dc:creator>
    <dc:date>2025-04-14T15:49:30Z</dc:date>
    <item>
      <title>Uncaught Network Error failed to load RemoteClient.js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-network-error-failed-to-load-remoteclient/m-p/1605689#M86924</link>
      <description>&lt;P&gt;Hi - I've updgraded Maps SDK to 4.32 and have also upgraded Angular from 18 to 19. I'm getting a bunch of the following error and layers dont appear when I hit a map in my development/debug environment (visual studio code 1.84):&lt;/P&gt;&lt;P&gt;ErrorEvent {isTrusted: true, message: 'Uncaught NetworkError: Failed to execute 'im…nks/285dd7683f57d9d3667d.js' failed to load.', filename: '&lt;A href="http://localhost:4200/assets/esri/core/workers/RemoteClient.js" target="_blank"&gt;http://localhost:4200/assets/esri/core/workers/RemoteClient.js&lt;/A&gt;', lineno: 1, colno: 109155, …}&lt;BR /&gt;i2 @ c:\Angular\DigAlert\node_modules\@arcgis\core\core\Logger.js:98:12&lt;/P&gt;&lt;P&gt;Things I've done:&lt;/P&gt;&lt;P&gt;Verified that RemoteClient.js is within the folder above.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Changed the config.assetsPath from original:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;'assets/'; to /assets/ (and tried several others ./assets/, ../assets/)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Deleted my browser history&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;When I publish to my server test site there are no errors, so its definitely a local problem with my debug environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Strange:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;There are a number of maps in my app.&amp;nbsp; When I changed config.assetsPath from&amp;nbsp;&lt;SPAN&gt;'assets/'; to /assets/ in just one of the maps, everything worked -- no errors and layers appeared in all maps.&amp;nbsp; I thought I had the problem solved at that point, but when I changed&amp;nbsp;config.assetsPath to the new value in another map it started throwing errors again&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any ideas what I should try to get this fixed?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Pete&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 15:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-network-error-failed-to-load-remoteclient/m-p/1605689#M86924</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2025-04-14T15:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Uncaught Network Error failed to load RemoteClient.js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-network-error-failed-to-load-remoteclient/m-p/1605797#M86932</link>
      <description>&lt;P&gt;I changed&amp;nbsp;&lt;SPAN&gt;config.assetsPath to "assets" on all maps and got no errors in my dev environment or on the server.&amp;nbsp; No idea what happened, but glad that it seems to be working now!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pete&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 20:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-network-error-failed-to-load-remoteclient/m-p/1605797#M86932</guid>
      <dc:creator>PeteVitt</dc:creator>
      <dc:date>2025-04-14T20:06:24Z</dc:date>
    </item>
  </channel>
</rss>

