<?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: With version 4.6 I am seeing &amp;quot;unable to create worker&amp;quot; in the console. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150940#M14059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is related but I was getting the "unable to create worker" in my console also. I found the issue with a variable name "URL" If you use a variable name is "URL" (which i was using in my dojoConfig) you will get this error. Simple fix was to rename the variable, but im guessing this is just a bug to be fixed in a a future release.. I was using 4.7. Hope this helps someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.js:249 [esri.core.workers] Failed to create Worker. Fallback to execute module in main thread TypeError: URL.createObjectURL is not a function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;URL&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;location&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;href&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d16969;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #d7ba7d;"&gt;\/&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;[^&lt;/SPAN&gt;&lt;SPAN style="color: #d16969;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #d7ba7d;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #d16969;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;dojoConfig&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; = {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;async:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;packages:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;[{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;name:&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'js'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;location:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;URL&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; + &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'/js'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; }],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;callback&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;() {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;require&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;([&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'js/main'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2018 20:32:19 GMT</pubDate>
    <dc:creator>JonNordling1</dc:creator>
    <dc:date>2018-06-04T20:32:19Z</dc:date>
    <item>
      <title>With version 4.6 I am seeing "unable to create worker" in the console.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150937#M14056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently upgraded to API 4.6 from 4.4. When running from built JavaScript layer, I am getting the message "[esri.core.workers.JobProxy] Failed to create Worker. Fallback to execute module in main thread" in the console several times when displaying the map. This is followed by:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ErrorEvent&amp;nbsp;{isTrusted: true, message: "Uncaught Error: Uncaught TypeError: Cannot read property 'addEventListener' of undefined", filename: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Frhel7%2Fpkgs%2Fesri%2Fcore%2Fworkers%2Fworker.js" rel="nofollow" target="_blank"&gt;http://rhel7/pkgs/esri/core/workers/worker.js&lt;/A&gt;&lt;SPAN&gt;", lineno: 25, colno: 555,&amp;nbsp;…}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set devtools to pause on exceptions, it appears to get the error while evaluating: "&amp;nbsp;self.importScripts(n.loaderUrl)" in the messageHandler function of&amp;nbsp; worker.js. The event.data object has the type field "&amp;lt;configure&amp;gt;" when this happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I am only seeing errors in the built version. When running from source files, there are no errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance to resolving this issue would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 19:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150937#M14056</guid>
      <dc:creator>TonyAbo</dc:creator>
      <dc:date>2018-03-16T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: With version 4.6 I am seeing "unable to create worker" in the console.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150938#M14057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you happen to be running an ad-blocker? If you are and disable it, do you still get the same error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using AdBlock, we're currently trying to figure out which filter list is blocking the workers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that's the case, could you provide the filter list you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 22:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150938#M14057</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2018-03-16T22:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: With version 4.6 I am seeing "unable to create worker" in the console.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150939#M14058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No ad-blocker is in use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 03:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150939#M14058</guid>
      <dc:creator>TonyAbo</dc:creator>
      <dc:date>2018-03-19T03:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: With version 4.6 I am seeing "unable to create worker" in the console.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150940#M14059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is related but I was getting the "unable to create worker" in my console also. I found the issue with a variable name "URL" If you use a variable name is "URL" (which i was using in my dojoConfig) you will get this error. Simple fix was to rename the variable, but im guessing this is just a bug to be fixed in a a future release.. I was using 4.7. Hope this helps someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.js:249 [esri.core.workers] Failed to create Worker. Fallback to execute module in main thread TypeError: URL.createObjectURL is not a function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;URL&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;location&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;href&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;replace&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #d16969;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #d7ba7d;"&gt;\/&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;[^&lt;/SPAN&gt;&lt;SPAN style="color: #d16969;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #d7ba7d;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #d16969;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;dojoConfig&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; = {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;async:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;packages:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;[{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;name:&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'js'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;location:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;URL&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; + &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'/js'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; }],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;callback&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;() {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;require&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;([&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;'js/main'&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 20:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150940#M14059</guid>
      <dc:creator>JonNordling1</dc:creator>
      <dc:date>2018-06-04T20:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: With version 4.6 I am seeing "unable to create worker" in the console.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150941#M14060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bless you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 21:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/with-version-4-6-i-am-seeing-quot-unable-to-create/m-p/150941#M14060</guid>
      <dc:creator>AllanBeihl</dc:creator>
      <dc:date>2019-06-20T21:15:14Z</dc:date>
    </item>
  </channel>
</rss>

