PDA

View Full Version : Exporter causes multiple define error



daplume
30 May 2017, 9:05 AM
Hi Everyone,

I found when I added my exporter plugin to my project that while the project compiled OK at run-time I'm getting a multiple define error. It seems that the conflict is with the ESRI libraries that I'm using for adding mapping functionality to my project. The image below shows the location of the error in init.js.

Has anyone encountered a multiple define error and can anyone perhaps offer a suggestion how to work around this issue?

Thanks very much,
David
56369

For the record -- after doing a bit of research I'm seeing this likely is related to dojo AMD,

See:

https://geonet.esri.com/thread/119518
http://dojotoolkit.org/reference-guide/1.9/loader/amd.html