<?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: arcgis core 4.23 breaks app when build in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1200053#M78198</link>
    <description>&lt;P&gt;Hi Dylan&lt;/P&gt;&lt;P&gt;Try to delete package-json and the node_modules folder. then run npm install again.&lt;/P&gt;&lt;P&gt;That fixed it for me together with the browserslist. I'm using node 16.4.2 and npm 8.5.0&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2022 20:53:46 GMT</pubDate>
    <dc:creator>FabianHanggi</dc:creator>
    <dc:date>2022-08-05T20:53:46Z</dc:date>
    <item>
      <title>arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1162619#M76962</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Just upgraded from 4.22 to 4.23. When i run my app locally using npm start things work fine.&lt;/P&gt;&lt;P&gt;However when i build the app (npm run build) the maps don't load anymore. I see this error in the console&lt;/P&gt;&lt;P&gt;Uncaught (in promise) TypeError: _ is not a function&lt;BR /&gt;at e.value (RenderingContext.js:5:23779)&lt;BR /&gt;at e.value (RenderingContext.js:5:2866)&lt;BR /&gt;at new e (RenderingContext.js:5:1458)&lt;BR /&gt;at new i (Stage.js:5:2261)&lt;BR /&gt;at u.value (MapView.js:5:17175)&lt;BR /&gt;at u.&amp;lt;anonymous&amp;gt; (View.js:5:3490)&lt;BR /&gt;at watch.js:5:2481&lt;BR /&gt;at i (trackingUtils.js:5:281)&lt;BR /&gt;at p (trackingUtils.js:5:795)&lt;BR /&gt;at e.i [as _notify] (trackingUtils.js:5:288)&lt;/P&gt;&lt;P&gt;When i go back to 4.22 things work.&lt;/P&gt;&lt;P&gt;I'm using node v12.13.1 and npm&amp;nbsp;6.14.8&lt;/P&gt;&lt;P&gt;Does anyone else have these issues?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 16:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1162619#M76962</guid>
      <dc:creator>FabianHanggi</dc:creator>
      <dc:date>2022-04-08T16:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1162630#M76963</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/577226"&gt;@FabianHanggi&lt;/a&gt;can you provide a github repository that reproduces the issue? If you don't want to share it publicly you can direct message me with a link.&lt;/P&gt;&lt;P&gt;Also, if you haven't had a chance yet, be sure to take a look at the 4.23 release notes in the breaking changes section: &lt;A href="https://developers.arcgis.com/javascript/latest/release-notes/#breaking-changes" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/release-notes/#breaking-changes&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 17:02:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1162630#M76963</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-04-08T17:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1162789#M76964</link>
      <description>&lt;P&gt;Hi AndyGup&lt;/P&gt;&lt;P&gt;I attached a zip file where i was able to reproduce my issue .&lt;/P&gt;&lt;P&gt;Here is what you have to do.&lt;/P&gt;&lt;P&gt;unzip it into a folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;run npm install&lt;/P&gt;&lt;P&gt;run npm run build&lt;/P&gt;&lt;P&gt;deploy the app somewhere where you can run it on a server .i'm using IIS that's why there is a web.config file in my public folder with a rewrite rule. maybe you don't need that&lt;/P&gt;&lt;P&gt;when you run the app you should see a button. show map. click it. because the app is using 4.23.7 version you should just see a white screen. the map is not loaded.&lt;/P&gt;&lt;P&gt;edit package.json and change the version of arcgis to 4.22.2. run install and build again.&lt;/P&gt;&lt;P&gt;now the map loads.&lt;/P&gt;&lt;P&gt;note that i could not reproduce the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"TypeError: _ is not a function" as described in my original post. but i have a lot more code in my real app which i cannot reproduce in this sample&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know how it goes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fabian&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2022 01:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1162789#M76964</guid>
      <dc:creator>FabianHanggi</dc:creator>
      <dc:date>2022-04-09T01:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1166860#M77093</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/577226"&gt;@FabianHanggi&lt;/a&gt; sorry for the delay, this seems to be an issue with the browserslist. No clue why React uses those default params. I used the following settings and it built and ran on my machine:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  "browserslist": {
    "production": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 2 safari major versions",
      "last 2 edge major versions",
      "last 2 iOS major versions",
      "Firefox ESR"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 2 safari major versions",
      "last 2 edge major versions",
      "last 2 iOS major versions",
      "Firefox ESR"    ]
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 21:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1166860#M77093</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-04-21T21:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1169409#M77185</link>
      <description>&lt;P&gt;I ran into this same issue in my CRA app.&amp;nbsp; Thanks for the browserslist fix above.&amp;nbsp; Do we think the issue is including IE11 basically?&amp;nbsp; And will this be fixed for 4.14?&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 17:21:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1169409#M77185</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2022-04-29T17:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1169452#M77187</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/253051"&gt;@JackFairfield&lt;/a&gt;, this is a framework configuration issue, I didn't see any ArcGIS JS API bug.&amp;nbsp; It's common for the browserslist to be tweaked for performance and appropriate transpiling based on the system requirements of any dependencies. Note, we dropped IE 11 and Edge Legacy support back in December 2020 at 4.18 - more details here: &lt;A href="https://developers.arcgis.com/javascript/latest/4.18/#end-of-ie11edge-legacy-support" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/4.18/#end-of-ie11edge-legacy-support&lt;/A&gt;. Our latest System Requirements are described here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/system-requirements/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/system-requirements/&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 19:08:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1169452#M77187</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-04-29T19:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1177425#M77481</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/577226"&gt;@FabianHanggi&lt;/a&gt;&amp;nbsp;- We have the same issue and the same error you posted. We rolled back and still it does not work. The Browserlist suggestion did not fix it either. Anything you ever found deep in the code that was trigger this?&lt;BR /&gt;&lt;BR /&gt;The one thing I noticed is we are using node 16. We never deployed the app, so we never knew what it ever worked on. This is our first time deploying.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 00:33:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1177425#M77481</guid>
      <dc:creator>DylanKennard</dc:creator>
      <dc:date>2022-05-26T00:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1177550#M77488</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54060"&gt;@DylanKennard&lt;/a&gt;node 16 shouldn't be causing that error - on the surface it looks like a transpiler issue. If you can provide a simple github repo that reproduces the error we'll take a look.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1177550#M77488</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-05-26T14:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1181337#M77646</link>
      <description>&lt;P&gt;Thanks AndyGup&lt;STRONG&gt;,&lt;/STRONG&gt; the broswerlist works!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 01:17:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1181337#M77646</guid>
      <dc:creator>JackFanZhang</dc:creator>
      <dc:date>2022-06-09T01:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis core 4.23 breaks app when build</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1200053#M78198</link>
      <description>&lt;P&gt;Hi Dylan&lt;/P&gt;&lt;P&gt;Try to delete package-json and the node_modules folder. then run npm install again.&lt;/P&gt;&lt;P&gt;That fixed it for me together with the browserslist. I'm using node 16.4.2 and npm 8.5.0&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 20:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-4-23-breaks-app-when-build/m-p/1200053#M78198</guid>
      <dc:creator>FabianHanggi</dc:creator>
      <dc:date>2022-08-05T20:53:46Z</dc:date>
    </item>
  </channel>
</rss>

