<?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 ArcGIS Javascript upgrade from 4.12 to 4.19 issue - using ES5 modules in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1067854#M73482</link>
    <description>&lt;P&gt;Hi, I have upgraded to 4.19 from 4.12 and started switching over from using esri-loader to ES5 modules. I am getting the below error though and it lists probably all of the ArcGIS objects available in the library. Any pointers about what to do about this would be much appreciated?&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR in node_modules/@arcgis/core/interfaces.d.ts(1,1): error TS6200: Definitions of the following identifiers conflict with those in another file: HashMap,&amp;nbsp;HashMap, IPromise, Accessor, ItemCallback, ItemCompareCallback.... and loads more&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 12:52:52 GMT</pubDate>
    <dc:creator>JohnRegan</dc:creator>
    <dc:date>2021-06-14T12:52:52Z</dc:date>
    <item>
      <title>ArcGIS Javascript upgrade from 4.12 to 4.19 issue - using ES5 modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1067854#M73482</link>
      <description>&lt;P&gt;Hi, I have upgraded to 4.19 from 4.12 and started switching over from using esri-loader to ES5 modules. I am getting the below error though and it lists probably all of the ArcGIS objects available in the library. Any pointers about what to do about this would be much appreciated?&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR in node_modules/@arcgis/core/interfaces.d.ts(1,1): error TS6200: Definitions of the following identifiers conflict with those in another file: HashMap,&amp;nbsp;HashMap, IPromise, Accessor, ItemCallback, ItemCompareCallback.... and loads more&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 12:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1067854#M73482</guid>
      <dc:creator>JohnRegan</dc:creator>
      <dc:date>2021-06-14T12:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript upgrade from 4.12 to 4.19 issue - using ES5 modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1067925#M73483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/492846"&gt;@JohnRegan&lt;/a&gt;&amp;nbsp;this sounds like a configuration issue. Do you have a basic github repo you can share that reproduces the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 14:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1067925#M73483</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2021-06-14T14:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript upgrade from 4.12 to 4.19 issue - using ES5 modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1067945#M73486</link>
      <description>&lt;P&gt;If you had the &lt;STRONG&gt;@types/arcgis-js-api&lt;/STRONG&gt; installed to use with esri-loader, uninstall them as the ESM build comes with types already. Could be the two are conflicting.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 15:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1067945#M73486</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-06-14T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript upgrade from 4.12 to 4.19 issue - using ES5 modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1068004#M73491</link>
      <description>&lt;P&gt;Hi Andy, thanks for the reply - unfortunately the repo is on company git repo so not possbile&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 16:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1068004#M73491</guid>
      <dc:creator>JohnRegan</dc:creator>
      <dc:date>2021-06-14T16:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript upgrade from 4.12 to 4.19 issue - using ES5 modules</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1068006#M73492</link>
      <description>&lt;P&gt;Thanks Rene, this appears to have solved it - I removed the line below from package.json&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"@types/arcgis-js-api"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"4.18.0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Jun 2021 16:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-upgrade-from-4-12-to-4-19-issue/m-p/1068006#M73492</guid>
      <dc:creator>JohnRegan</dc:creator>
      <dc:date>2021-06-14T16:53:28Z</dc:date>
    </item>
  </channel>
</rss>

