<?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: Problem Using FeatureLayer with ES6 Module in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088232#M74265</link>
    <description>Haha, no problem. I will provide a demo app for you to test in a little bit. Thanks!&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Aug 2021 01:55:46 GMT</pubDate>
    <dc:creator>JoseCamacho</dc:creator>
    <dc:date>2021-08-12T01:55:46Z</dc:date>
    <item>
      <title>Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088103#M74255</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am trying to use the ArcGIS Javascript Library with ES Modules and the app for some reason breaks when trying to add a FeatureLayer, this code is working fine using the CDN examples:&lt;/P&gt;&lt;P&gt;Here is a snippet of the code I'm testing:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoseCamacho_0-1628710619497.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20659i88B604A1BC271FDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoseCamacho_0-1628710619497.png" alt="JoseCamacho_0-1628710619497.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if I remove the Feature Layer the map loads fine but once I add the FeatureLayer the application errors with the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoseCamacho_1-1628710685265.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20661iB598CE1A42747A2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoseCamacho_1-1628710685265.png" alt="JoseCamacho_1-1628710685265.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;any pointers or ideas of what could be causing this error would be really appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:39:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088103#M74255</guid>
      <dc:creator>JoseCamacho</dc:creator>
      <dc:date>2021-08-11T19:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088112#M74256</link>
      <description>&lt;P&gt;What does your build set up look like? We have a number of ESM samples here you can check against. &lt;A href="https://github.com/Esri/jsapi-resources/tree/master/esm-samples" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/master/esm-samples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088112#M74256</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-08-11T19:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088132#M74258</link>
      <description>&lt;P&gt;I'm using webpack. I just updated following the instructions in the link you shared and got the same error&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 20:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088132#M74258</guid>
      <dc:creator>JoseCamacho</dc:creator>
      <dc:date>2021-08-11T20:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088163#M74261</link>
      <description>&lt;P&gt;Not sure. Does this happen in a particular browser/os combo? I put that snippet in a webpack build here and the build seems to be working ok.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/jsapi-webpack-fl" target="_blank"&gt;https://github.com/odoe/jsapi-webpack-fl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you have a repro project we can test against?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 21:20:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088163#M74261</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-08-11T21:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088196#M74262</link>
      <description>&lt;P&gt;I'm using it in a Ruby on Rails application using the &lt;A href="https://github.com/rails/webpacker" target="_self"&gt;webpacker gem&lt;/A&gt;&amp;nbsp;I can provide an app that is presenting the error but I'm not 100% sure it would be very helpful because you will need a fully working rails dev env for it to work. I'm kind of a beginner in both webpack and the web packer gem but whatever I can do to help and figure out what's going on I'm happy to do.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 22:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088196#M74262</guid>
      <dc:creator>JoseCamacho</dc:creator>
      <dc:date>2021-08-11T22:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088221#M74264</link>
      <description>&lt;P&gt;Ha, it's been a minute since I used ruby/rails, but I'll see what I can do. If you have a project, that would help, but I can try and put one together.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 00:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088221#M74264</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-08-12T00:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088232#M74265</link>
      <description>Haha, no problem. I will provide a demo app for you to test in a little bit. Thanks!&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Aug 2021 01:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088232#M74265</guid>
      <dc:creator>JoseCamacho</dc:creator>
      <dc:date>2021-08-12T01:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Using FeatureLayer with ES6 Module</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088459#M74268</link>
      <description>&lt;P&gt;So it turns out that, for some reason unknown to me, after upgrading the webpacker gem (rails wrapper for webpack) the FeatureLayers started working.&lt;/P&gt;&lt;P&gt;Thank you very much for your help&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;&amp;nbsp;you pointed me into the direction for the solution, I appreciate it very much.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 15:16:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-using-featurelayer-with-es6-module/m-p/1088459#M74268</guid>
      <dc:creator>JoseCamacho</dc:creator>
      <dc:date>2021-08-12T15:16:52Z</dc:date>
    </item>
  </channel>
</rss>

