<?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: Cannot run ANY ESM modukes locally in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-run-any-esm-modukes-locally/m-p/1140086#M76241</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/557143"&gt;@corndog&lt;/a&gt; see my response on the other post: &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/esm-modules-broken-error-resolving-module/m-p/1140083/highlight/true#M76240" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-javascript-questions/esm-modules-broken-error-resolving-module/m-p/1140083/highlight/true#M76240&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Feb 2022 21:26:47 GMT</pubDate>
    <dc:creator>AndyGup</dc:creator>
    <dc:date>2022-02-02T21:26:47Z</dc:date>
    <item>
      <title>Cannot run ANY ESM modukes locally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-run-any-esm-modukes-locally/m-p/1140075#M76239</link>
      <description>&lt;P&gt;I am pulling my hair out trying to follow the documentation to create an extremely simple web-app using ESM (imports). It does NOT WORK and the documentation gives me NO info as to why.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;No matter what I do, MapView ALWAYS GIVES THIS ERROR&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Uncaught TypeError: Error resolving module specifier “luxon”. Relative module specifiers must start with “./”, “../” or “/”. languageUtils.js:5:508&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Why is it not working, what are build tools and HOW do I USE them. I am just using plain Vanilla JavaScript and I have run npm init and npm install with node&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;npm init&lt;BR /&gt;npm install @arcgis/core&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Why does the documentation not CLEARLY explain how to do this. Why is the documentation misleading or lacking, or both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;html&amp;gt;

&amp;lt;head&amp;gt;
  &amp;lt;script src="js/app.js" type="module"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
  &amp;lt;script type="module"&amp;gt;
    import Map from "../node/node_modules/@arcgis/core/Map.js";
    import MapView from "../node/node_modules/@arcgis/core/views/MapView.js";

    const map = new Map();
    const view = new MapView({
        container: "viewDiv",
        map: map,
    });
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 20:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-run-any-esm-modukes-locally/m-p/1140075#M76239</guid>
      <dc:creator>corndog</dc:creator>
      <dc:date>2022-02-02T20:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run ANY ESM modukes locally</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-run-any-esm-modukes-locally/m-p/1140086#M76241</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/557143"&gt;@corndog&lt;/a&gt; see my response on the other post: &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/esm-modules-broken-error-resolving-module/m-p/1140083/highlight/true#M76240" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-javascript-questions/esm-modules-broken-error-resolving-module/m-p/1140083/highlight/true#M76240&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 21:26:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-run-any-esm-modukes-locally/m-p/1140086#M76241</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-02-02T21:26:47Z</dc:date>
    </item>
  </channel>
</rss>

