<?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 Multiple Define Error  in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-define-error/m-p/207292#M19287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an application built off this template.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://github.com/Esri/configurable-app-examples-4x-js/tree/master/webmap-ts" rel="noreferrer noopener" tabindex="-1" target="_blank" title="https://github.com/esri/configurable-app-examples-4x-js/tree/master/webmap-ts"&gt;https://github.com/Esri/configurable-app-examples-4x-js/tree/master/webmap-ts&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In my index.html&amp;nbsp;i have:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;script src="./app/dojo.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script src="https://js.arcgis.com/4.14/"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;script&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;require(["Application/init"]);&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In my dojo.ts, I have added a third party jsPDF library as follows&lt;/DIV&gt;&lt;DIV&gt;{&lt;BR /&gt; name:"jspdf",&lt;BR /&gt; location: `${distPath}/node_modules/jspdf/dist`,&lt;BR /&gt; main: "jspdf.min"&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; name:"jspdf-autotable",&lt;BR /&gt; location: `${distPath}/node_modules/jspdf-autotable/dist`,&lt;BR /&gt; main: "jspdf.plugin.autotable.min"&lt;BR /&gt; }&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The application loads fine but when I do an identify I get multiple define errors.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Any suggestions on how to get past this error? If I remove the widget using jsPDF then there is no conflict.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;‌&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2020 16:03:39 GMT</pubDate>
    <dc:creator>LyndaMcCallum1</dc:creator>
    <dc:date>2020-05-08T16:03:39Z</dc:date>
    <item>
      <title>Multiple Define Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-define-error/m-p/207292#M19287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an application built off this template.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://github.com/Esri/configurable-app-examples-4x-js/tree/master/webmap-ts" rel="noreferrer noopener" tabindex="-1" target="_blank" title="https://github.com/esri/configurable-app-examples-4x-js/tree/master/webmap-ts"&gt;https://github.com/Esri/configurable-app-examples-4x-js/tree/master/webmap-ts&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In my index.html&amp;nbsp;i have:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;script src="./app/dojo.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script src="https://js.arcgis.com/4.14/"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;script&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;require(["Application/init"]);&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In my dojo.ts, I have added a third party jsPDF library as follows&lt;/DIV&gt;&lt;DIV&gt;{&lt;BR /&gt; name:"jspdf",&lt;BR /&gt; location: `${distPath}/node_modules/jspdf/dist`,&lt;BR /&gt; main: "jspdf.min"&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; name:"jspdf-autotable",&lt;BR /&gt; location: `${distPath}/node_modules/jspdf-autotable/dist`,&lt;BR /&gt; main: "jspdf.plugin.autotable.min"&lt;BR /&gt; }&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The application loads fine but when I do an identify I get multiple define errors.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Any suggestions on how to get past this error? If I remove the widget using jsPDF then there is no conflict.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;‌&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 16:03:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-define-error/m-p/207292#M19287</guid>
      <dc:creator>LyndaMcCallum1</dc:creator>
      <dc:date>2020-05-08T16:03:39Z</dc:date>
    </item>
  </channel>
</rss>

