<?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 Error in console because of timing issue when loading message bundles in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-console-because-of-timing-issue-when/m-p/1670522#M87934</link>
    <description>&lt;P&gt;We are using ArcGis-Javascript Maps SDK for a project with typescript but without a major framework like Angular or React. We build and bundle everything using vite and in tests and production builds everything works fine but when we are serving the arcgis sources via the vite-dev-server the following error is constantly logged "Error: 'No loader found for message bundle "esri/widgets/Attribution/t9n/Attribution"'"&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"intl:no-message-bundle-loader".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In the HTML we render this code to&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;arcgis-map id="arcgis-map1" class="h-100 w-100" basemap="osm"&amp;gt;
    &amp;lt;arcgis-zoom position="top-right"&amp;gt;&amp;lt;/arcgis-zoom&amp;gt;
    &amp;lt;arcgis-fullscreen position="top-right"&amp;gt;&amp;lt;/arcgis-fullscreen&amp;gt;
&amp;lt;/arcgis-map&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;And then in the map.ts file we import all the necessary components:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import config from "@arcgis/core/config";

import "@arcgis/map-components/components/arcgis-map";
import "@arcgis/map-components/components/arcgis-zoom";
import "@arcgis/map-components/components/arcgis-fullscreen";
config.portalUrl = 'https://customer-portal-url';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Maybe we did something wrong here but it seems there is a timing issue: I stepped through the whole code and it seems like the zoom and Attributions widgets both call&amp;nbsp;fetchMessageBundle() in&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/core/intl/messages.js before&amp;nbsp;registerMessageBundleLoader() was called for the default messageBundleLoader in the&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/core/intl.js module file (with location&amp;nbsp;"&lt;A href="https://js.arcgis.com/4.33/@arcgis/core/assets" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.33/@arcgis/core/assets&lt;/A&gt;"). Is there a way to fix this?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Dec 2025 16:41:49 GMT</pubDate>
    <dc:creator>SebastianVogel</dc:creator>
    <dc:date>2025-12-04T16:41:49Z</dc:date>
    <item>
      <title>Error in console because of timing issue when loading message bundles</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-console-because-of-timing-issue-when/m-p/1670522#M87934</link>
      <description>&lt;P&gt;We are using ArcGis-Javascript Maps SDK for a project with typescript but without a major framework like Angular or React. We build and bundle everything using vite and in tests and production builds everything works fine but when we are serving the arcgis sources via the vite-dev-server the following error is constantly logged "Error: 'No loader found for message bundle "esri/widgets/Attribution/t9n/Attribution"'"&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"intl:no-message-bundle-loader".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In the HTML we render this code to&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;arcgis-map id="arcgis-map1" class="h-100 w-100" basemap="osm"&amp;gt;
    &amp;lt;arcgis-zoom position="top-right"&amp;gt;&amp;lt;/arcgis-zoom&amp;gt;
    &amp;lt;arcgis-fullscreen position="top-right"&amp;gt;&amp;lt;/arcgis-fullscreen&amp;gt;
&amp;lt;/arcgis-map&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;And then in the map.ts file we import all the necessary components:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import config from "@arcgis/core/config";

import "@arcgis/map-components/components/arcgis-map";
import "@arcgis/map-components/components/arcgis-zoom";
import "@arcgis/map-components/components/arcgis-fullscreen";
config.portalUrl = 'https://customer-portal-url';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Maybe we did something wrong here but it seems there is a timing issue: I stepped through the whole code and it seems like the zoom and Attributions widgets both call&amp;nbsp;fetchMessageBundle() in&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/core/intl/messages.js before&amp;nbsp;registerMessageBundleLoader() was called for the default messageBundleLoader in the&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/core/intl.js module file (with location&amp;nbsp;"&lt;A href="https://js.arcgis.com/4.33/@arcgis/core/assets" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.33/@arcgis/core/assets&lt;/A&gt;"). Is there a way to fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 16:41:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-console-because-of-timing-issue-when/m-p/1670522#M87934</guid>
      <dc:creator>SebastianVogel</dc:creator>
      <dc:date>2025-12-04T16:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in console because of timing issue when loading message bundles</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-console-because-of-timing-issue-when/m-p/1670913#M87941</link>
      <description>&lt;P&gt;It's hard to tell without a repro example. These errors can often show up when using local assets that haven't been configured. Take a look at this doc and see if any of the info helps:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/working-with-assets/#copy-and-point-to-local-assets" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/working-with-assets/#copy-and-point-to-local-assets&lt;/A&gt;, for example be sure to configure the assets path.&lt;/P&gt;&lt;P&gt;For more info on minimal repro apps:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 17:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-console-because-of-timing-issue-when/m-p/1670913#M87941</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2025-12-05T17:14:27Z</dc:date>
    </item>
  </channel>
</rss>

