<?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: Missing assets in 4.20.2 release in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080847#M73951</link>
    <description>&lt;P&gt;Do you need to use local assets? It's not required, try commenting out esriConfig and see if your app works:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// esriConfig&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;assetsPath&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"./assets";&amp;nbsp; // comment out this line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Additional reading:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/es-modules/#working-with-assets" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/es-modules/#working-with-assets&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 14:36:56 GMT</pubDate>
    <dc:creator>AndyGup</dc:creator>
    <dc:date>2021-07-20T14:36:56Z</dc:date>
    <item>
      <title>Missing assets in 4.20.2 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080114#M73922</link>
      <description>&lt;P&gt;When using the current release of the arcgis-js-api (4.20.2) and using the local assets (&lt;SPAN&gt;esriConfig&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;assetsPath&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"./assets"&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;the assets do not seem to be up to date, i receive the following message on load:&lt;/P&gt;&lt;P&gt;30cfa4b0-c6b0-4fa5-a5e1-ac799d7f3ee0:1 [esri.core.workers] Version mismatch detected between ArcGIS API for JavaScript and assets:&lt;BR /&gt;API version: 4.20 [Date: 20210707, Revision: 17f9314e]&lt;BR /&gt;Assets version: 4.20 [Date: 20210701, Revision: d19b8a11]&lt;/P&gt;&lt;P&gt;This appears to manifest in a missing file:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="name-and-value"&gt;&lt;SPAN class="name"&gt;message&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="object-value-string value"&gt;"Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'assets/esri/core/workers/chunks/4ec871ce4f503ff84927.js' failed to load."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 01:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080114#M73922</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-07-19T01:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Missing assets in 4.20.2 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080278#M73929</link>
      <description>&lt;P&gt;How are you copying your assets? Maybe delete the assets in your working directory and recopy just to make sure you have the most current ones.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 14:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080278#M73929</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2021-07-19T14:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Missing assets in 4.20.2 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080702#M73945</link>
      <description>&lt;P&gt;I'm still not sure what my issue is but this seems to happen when I launch the debugger from vscode, perhaps it is caching the assets from the previous release.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 07:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080702#M73945</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-07-20T07:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Missing assets in 4.20.2 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080713#M73946</link>
      <description>&lt;P&gt;I feel this issue might be related to the RemoteClient.js, when I look at this file in windows it has an incorrect date&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="remoteclient.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18910iFBBF7E90365BE9F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="remoteclient.PNG" alt="remoteclient.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update: &lt;A href="https://github.com/npm/npm/issues/20439" target="_blank" rel="noopener"&gt;https://github.com/npm/npm/issues/20439&lt;/A&gt;&amp;nbsp;looks like this is caused by an npm "feature", any copy that uses the last modified date is having issues (dojo copy?, aws s3 sync?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="backtothefuture.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18911iB5A5A53060665855/image-size/medium?v=v2&amp;amp;px=400" role="button" title="backtothefuture.jpg" alt="backtothefuture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 08:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080713#M73946</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-07-20T08:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Missing assets in 4.20.2 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080847#M73951</link>
      <description>&lt;P&gt;Do you need to use local assets? It's not required, try commenting out esriConfig and see if your app works:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// esriConfig&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;assetsPath&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"./assets";&amp;nbsp; // comment out this line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Additional reading:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/es-modules/#working-with-assets" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/es-modules/#working-with-assets&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:36:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1080847#M73951</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2021-07-20T14:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Missing assets in 4.20.2 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1081181#M73965</link>
      <description>&lt;P&gt;Thanks Andy,&lt;/P&gt;&lt;P&gt;I don't usually need to do this but we have a client in a sandboxed environment.&lt;/P&gt;&lt;P&gt;I have resolved the issue by using a grunt task to touch the asset files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; grunt.loadNpmTasks('grunt-touch');

  grunt.initConfig({
    touch: {
      options: {
        match: true,
        mtime: true
      },
      target: ['pathto/assets/**/*'],
    }
  });

grunt.registerTask(['touch']);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 04:59:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/missing-assets-in-4-20-2-release/m-p/1081181#M73965</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2021-07-21T04:59:27Z</dc:date>
    </item>
  </channel>
</rss>

