<?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 getting Uncaught SyntaxError: Unexpected token { error when using downloaded arcGis API in PC without internet in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-uncaught-syntaxerror-unexpected-token/m-p/1063107#M73340</link>
    <description>&lt;P&gt;I am trying to implement ARCGIS API offline. I have downloaded the zip file from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/downloads/#javascript" rel="nofollow noreferrer" target="_blank"&gt;the site&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and followed the following changes , changed the baseUrl to my apache IP copied the files to /var/www/html/ and replaced all occurances of https with http in dojo.js and init.js files (My server users http).&lt;/P&gt;&lt;P&gt;After that , i used the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://jsfiddle.net/praneeths/k4j2e3uq/2/" rel="nofollow noreferrer" target="_blank"&gt;html code&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;given in the installation isntructions to check if the installation is successful or not.&lt;/P&gt;&lt;P&gt;I tried opening/running the html in machines with internet , it worked perfectly, but when i try to run it in machines without internet connect , it shows "Uncaught syntaxError".&lt;BR /&gt;&lt;BR /&gt;Please FInd the attached screenshot.&lt;BR /&gt;&lt;SPAN&gt;I feel like it has something to do with "&lt;A href="http://www.w3.org/2000/svg" target="_blank"&gt;http://www.w3.org/2000/svg&lt;/A&gt;" in line number 68 in init.js ,but i dont know how to solve the error.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 May 2021 10:16:02 GMT</pubDate>
    <dc:creator>Praneethrockz</dc:creator>
    <dc:date>2021-05-29T10:16:02Z</dc:date>
    <item>
      <title>getting Uncaught SyntaxError: Unexpected token { error when using downloaded arcGis API in PC without internet</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-uncaught-syntaxerror-unexpected-token/m-p/1063107#M73340</link>
      <description>&lt;P&gt;I am trying to implement ARCGIS API offline. I have downloaded the zip file from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/downloads/#javascript" rel="nofollow noreferrer" target="_blank"&gt;the site&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and followed the following changes , changed the baseUrl to my apache IP copied the files to /var/www/html/ and replaced all occurances of https with http in dojo.js and init.js files (My server users http).&lt;/P&gt;&lt;P&gt;After that , i used the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://jsfiddle.net/praneeths/k4j2e3uq/2/" rel="nofollow noreferrer" target="_blank"&gt;html code&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;given in the installation isntructions to check if the installation is successful or not.&lt;/P&gt;&lt;P&gt;I tried opening/running the html in machines with internet , it worked perfectly, but when i try to run it in machines without internet connect , it shows "Uncaught syntaxError".&lt;BR /&gt;&lt;BR /&gt;Please FInd the attached screenshot.&lt;BR /&gt;&lt;SPAN&gt;I feel like it has something to do with "&lt;A href="http://www.w3.org/2000/svg" target="_blank"&gt;http://www.w3.org/2000/svg&lt;/A&gt;" in line number 68 in init.js ,but i dont know how to solve the error.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 10:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-uncaught-syntaxerror-unexpected-token/m-p/1063107#M73340</guid>
      <dc:creator>Praneethrockz</dc:creator>
      <dc:date>2021-05-29T10:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: getting Uncaught SyntaxError: Unexpected token { error when using downloaded arcGis API in PC without internet</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-uncaught-syntaxerror-unexpected-token/m-p/1213353#M78733</link>
      <description>&lt;P&gt;Please check the version of the browser. I encountered the same error. Only the supported versions of the browser mentioned in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/system-requirements/" rel="nofollow noreferrer" target="_blank"&gt;ArcGIS API for JavaScript System Requirements page&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;can render the API correctly.&lt;/P&gt;&lt;P&gt;In my case, I used Google Chrome v62.x.x whereas the supported version of Chrome was v99.x.x or later.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:03:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-uncaught-syntaxerror-unexpected-token/m-p/1213353#M78733</guid>
      <dc:creator>MonicaMohan</dc:creator>
      <dc:date>2022-09-16T12:03:12Z</dc:date>
    </item>
  </channel>
</rss>

