<?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 API Javascript ES Modules Failing in Azure in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-javascript-es-modules-failing-in-azure/m-p/1070350#M73558</link>
    <description>&lt;P&gt;I am currently using arcGIS 4.19 version with react, typeScript. My code runs perfectly in my local dev environment however when I create a build and deploy it in an Azure appservice everything breaks. I recently switched to ES Modules from esri-loader. Previously it was working fine both in dev as well in Azure. I updated the&amp;nbsp;&lt;FONT size="3"&gt;Web server hosting configuration with proper mime type as mentioned in the documentation but still not working. Below is the error that I am getting in console&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;createForOfIteratorHelper.js:53 Uncaught TypeError: Cannot convert undefined or null to object&lt;BR /&gt;at getPrototypeOf (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at i.value (TileContainer.js:5)&lt;BR /&gt;at i.value (BitmapTileContainer.js:5)&lt;BR /&gt;at i.value (WGLContainer.js:5)&lt;BR /&gt;at i.value (TileContainer.js:5)&lt;BR /&gt;at i.value (WGLContainer.js:5)&lt;BR /&gt;at i.value (BitmapTileContainer.js:5)&lt;BR /&gt;at i.value (DisplayObject.js:5)&lt;BR /&gt;at n.value (Container.js:5)&lt;BR /&gt;at n.value (Container.js:5)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;TileInfoViewPOT.js:5 Uncaught TypeError: Cannot read property 'prototype' of undefined&lt;BR /&gt;at i.value (TileInfoViewPOT.js:5)&lt;BR /&gt;at e.value (TileManager.js:5)&lt;BR /&gt;at r.value (VectorTileLayerView2D.js:5)&lt;BR /&gt;at r.value (LayerView2D.js:5)&lt;BR /&gt;at e.value (FrameTask.js:5)&lt;BR /&gt;at Array.forEach (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at r.value (Collection.js:5)&lt;BR /&gt;at e.update (FrameTask.js:5)&lt;BR /&gt;at scheduling.js:5&lt;BR /&gt;at e.value (PooledArray.js:5)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Note: I am parsing a JSON response and creating map points using projection in ArcGIS. Once the point graphics are created I am passing it to feature layer to generate the Map.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 11:04:05 GMT</pubDate>
    <dc:creator>RikBhattacharyya</dc:creator>
    <dc:date>2021-06-21T11:04:05Z</dc:date>
    <item>
      <title>ArcGIS API Javascript ES Modules Failing in Azure</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-javascript-es-modules-failing-in-azure/m-p/1070350#M73558</link>
      <description>&lt;P&gt;I am currently using arcGIS 4.19 version with react, typeScript. My code runs perfectly in my local dev environment however when I create a build and deploy it in an Azure appservice everything breaks. I recently switched to ES Modules from esri-loader. Previously it was working fine both in dev as well in Azure. I updated the&amp;nbsp;&lt;FONT size="3"&gt;Web server hosting configuration with proper mime type as mentioned in the documentation but still not working. Below is the error that I am getting in console&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;createForOfIteratorHelper.js:53 Uncaught TypeError: Cannot convert undefined or null to object&lt;BR /&gt;at getPrototypeOf (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at i.value (TileContainer.js:5)&lt;BR /&gt;at i.value (BitmapTileContainer.js:5)&lt;BR /&gt;at i.value (WGLContainer.js:5)&lt;BR /&gt;at i.value (TileContainer.js:5)&lt;BR /&gt;at i.value (WGLContainer.js:5)&lt;BR /&gt;at i.value (BitmapTileContainer.js:5)&lt;BR /&gt;at i.value (DisplayObject.js:5)&lt;BR /&gt;at n.value (Container.js:5)&lt;BR /&gt;at n.value (Container.js:5)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;TileInfoViewPOT.js:5 Uncaught TypeError: Cannot read property 'prototype' of undefined&lt;BR /&gt;at i.value (TileInfoViewPOT.js:5)&lt;BR /&gt;at e.value (TileManager.js:5)&lt;BR /&gt;at r.value (VectorTileLayerView2D.js:5)&lt;BR /&gt;at r.value (LayerView2D.js:5)&lt;BR /&gt;at e.value (FrameTask.js:5)&lt;BR /&gt;at Array.forEach (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at r.value (Collection.js:5)&lt;BR /&gt;at e.update (FrameTask.js:5)&lt;BR /&gt;at scheduling.js:5&lt;BR /&gt;at e.value (PooledArray.js:5)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Note: I am parsing a JSON response and creating map points using projection in ArcGIS. Once the point graphics are created I am passing it to feature layer to generate the Map.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 11:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-javascript-es-modules-failing-in-azure/m-p/1070350#M73558</guid>
      <dc:creator>RikBhattacharyya</dc:creator>
      <dc:date>2021-06-21T11:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API Javascript ES Modules Failing in Azure</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-javascript-es-modules-failing-in-azure/m-p/1144938#M76379</link>
      <description>&lt;P&gt;I am experiencing this exact issue, except on 4.22. Were you ever able to find a fix?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 22:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-javascript-es-modules-failing-in-azure/m-p/1144938#M76379</guid>
      <dc:creator>ChrisDougherty</dc:creator>
      <dc:date>2022-02-16T22:19:32Z</dc:date>
    </item>
  </channel>
</rss>

