<?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 Re: Map not loading in Test Env , loading locally in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-loading-in-test-env-loading-locally/m-p/1258444#M80261</link>
    <description>&lt;P&gt;Theres not very much to go on here. Could you post your code on how the map is loaded?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just as a quick test - if your using Vite. Could you also try adding this to your &lt;STRONG&gt;vite.config.ts&lt;/STRONG&gt; file and see if that helps solve the issue? If it works after this, please post back as i want to create a reproducable project which triggers these kind of errors and post it back to the devs. I have had similar experiences which is fixed by the config setting below when using Vite.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;optimizeDeps: {
 disabled: false,
 exclude: ['@arcgis/core'],
},&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 13:27:06 GMT</pubDate>
    <dc:creator>Christer</dc:creator>
    <dc:date>2023-02-15T13:27:06Z</dc:date>
    <item>
      <title>Map not loading in Test Env , loading locally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-loading-in-test-env-loading-locally/m-p/1256898#M80219</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We are using reactjs app , locally application running fine by loading map , but when i deploy to AWS Test Env , it is showing the points in map but actual map is not showing.&lt;/P&gt;&lt;P&gt;below error:&lt;/P&gt;&lt;P&gt;[esri.layers.VectorTileLayer] #load() Failed to load layer (title: 'World Topographic Map', id: '1863a6d222b-layer-2')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 08:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-loading-in-test-env-loading-locally/m-p/1256898#M80219</guid>
      <dc:creator>VenkataKrishnaAdusumilli</dc:creator>
      <dc:date>2023-02-10T08:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Map not loading in Test Env , loading locally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-loading-in-test-env-loading-locally/m-p/1258444#M80261</link>
      <description>&lt;P&gt;Theres not very much to go on here. Could you post your code on how the map is loaded?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just as a quick test - if your using Vite. Could you also try adding this to your &lt;STRONG&gt;vite.config.ts&lt;/STRONG&gt; file and see if that helps solve the issue? If it works after this, please post back as i want to create a reproducable project which triggers these kind of errors and post it back to the devs. I have had similar experiences which is fixed by the config setting below when using Vite.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;optimizeDeps: {
 disabled: false,
 exclude: ['@arcgis/core'],
},&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 13:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-not-loading-in-test-env-loading-locally/m-p/1258444#M80261</guid>
      <dc:creator>Christer</dc:creator>
      <dc:date>2023-02-15T13:27:06Z</dc:date>
    </item>
  </channel>
</rss>

