<?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: Warning: Version mismatch detected between ArcGIS API for JavaScript and assets in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/warning-version-mismatch-detected-between-arcgis/m-p/1054760#M72939</link>
    <description>&lt;P&gt;You could point the assets to the specific version you want to match using jsdelivr&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jsdelivr.com/" target="_blank" rel="noopener"&gt;https://www.jsdelivr.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Typically, these warnings don't have much impact at the patch level. For production, if you want to be completely bullet-proof, you can use jsdelivr or copy the assets.&lt;/P&gt;&lt;P&gt;And we don't typically patch the CDN post-release, just something came up. NPM would only get patched if I messed something up, which has happened before... my bad.&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 17:17:21 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2021-05-05T17:17:21Z</dc:date>
    <item>
      <title>Warning: Version mismatch detected between ArcGIS API for JavaScript and assets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/warning-version-mismatch-detected-between-arcgis/m-p/1054757#M72938</link>
      <description>&lt;P&gt;I recently migrated a project from consuming the ArcGIS Javascript API through ESRI-Loader to ES Modules.&lt;/P&gt;&lt;P&gt;Today I noticed this warning appearing in the browser console:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[esri.core.workers] Version mismatch detected between ArcGIS API for JavaScript and assets:
API version: 4.19 [Date: 20210423, Revision: 33983ad1]
Assets version: 4.19 [Date: 20210504, Revision: dd3facdb]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have version 4.19.1 of the "@arcgis/core" package installed and importing the assets with this line in my index.css:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;@import "https://js.arcgis.com/4.19/@arcgis/core/assets/esri/themes/light/main.css";&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm guessing this warning is just because of a new minor release, It looks like 4.19.2 is out now.&lt;/P&gt;&lt;P&gt;But that raises two questions.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this something that I need to worry about? Can different minor releases between the JS and assets cause issues?&lt;/LI&gt;&lt;LI&gt;Is there a way to pin the minor version being imported from the CDN for the assets? Or for a production build should I switch locally installed assets?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 05 May 2021 17:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/warning-version-mismatch-detected-between-arcgis/m-p/1054757#M72938</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-05-05T17:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Warning: Version mismatch detected between ArcGIS API for JavaScript and assets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/warning-version-mismatch-detected-between-arcgis/m-p/1054760#M72939</link>
      <description>&lt;P&gt;You could point the assets to the specific version you want to match using jsdelivr&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jsdelivr.com/" target="_blank" rel="noopener"&gt;https://www.jsdelivr.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Typically, these warnings don't have much impact at the patch level. For production, if you want to be completely bullet-proof, you can use jsdelivr or copy the assets.&lt;/P&gt;&lt;P&gt;And we don't typically patch the CDN post-release, just something came up. NPM would only get patched if I messed something up, which has happened before... my bad.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 17:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/warning-version-mismatch-detected-between-arcgis/m-p/1054760#M72939</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-05-05T17:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Warning: Version mismatch detected between ArcGIS API for JavaScript and assets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/warning-version-mismatch-detected-between-arcgis/m-p/1054789#M72940</link>
      <description>&lt;P&gt;Thanks for the response, and the link to&amp;nbsp;&lt;SPAN&gt;jsdelivr, have not heard of that before but it looks cool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Glad there shouldn't be any issues for now. When i'm ready to deploy for production i may use one of those options.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 17:43:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/warning-version-mismatch-detected-between-arcgis/m-p/1054789#M72940</guid>
      <dc:creator>JamesGough</dc:creator>
      <dc:date>2021-05-05T17:43:43Z</dc:date>
    </item>
  </channel>
</rss>

