<?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: Undefined Error: Does WatchUtils still work with older 4x version? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/undefined-error-does-watchutils-still-work-with/m-p/1349229#M82762</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674185"&gt;@mbussey&lt;/a&gt;, that's correct - if you install 4.23.7, then it will include watchUtils.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2023 16:08:03 GMT</pubDate>
    <dc:creator>AndyGup</dc:creator>
    <dc:date>2023-11-14T16:08:03Z</dc:date>
    <item>
      <title>Undefined Error: Does WatchUtils still work with older 4x version?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/undefined-error-does-watchutils-still-work-with/m-p/1349027#M82758</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am receiving the following error:&lt;/P&gt;&lt;P&gt;Cannot read properties of undefined (reading 'allLayers') TypeError: Cannot read properties of undefined (reading 'allLayers')&lt;/P&gt;&lt;P&gt;I haven't made any code changes or meaningful changes to the webmap this application points to.&lt;/P&gt;&lt;P&gt;I have read that this could be a timing issue and I saw that WatchUtils has been removed&amp;nbsp;from the API, which this app is heavily dependent. I have specified in the package.json for the application to use version 4.23.7, which predates the deprecation of WatchUtils&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this in the package.json code for that:&amp;nbsp;&lt;SPAN&gt;"@arcgis/core"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"4.23.7"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I specify this version of the API in this manner will the breaking changes still effect me?&lt;/P&gt;&lt;P&gt;Any info can help, thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 01:39:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/undefined-error-does-watchutils-still-work-with/m-p/1349027#M82758</guid>
      <dc:creator>mbussey</dc:creator>
      <dc:date>2023-11-14T01:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined Error: Does WatchUtils still work with older 4x version?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/undefined-error-does-watchutils-still-work-with/m-p/1349229#M82762</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674185"&gt;@mbussey&lt;/a&gt;, that's correct - if you install 4.23.7, then it will include watchUtils.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 16:08:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/undefined-error-does-watchutils-still-work-with/m-p/1349229#M82762</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2023-11-14T16:08:03Z</dc:date>
    </item>
  </channel>
</rss>

