<?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: WAB application created on Windows fails to open on a Mac in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752753#M19723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you don't set &lt;EM&gt;&lt;STRONG&gt;apiUrl &lt;/STRONG&gt;&lt;/EM&gt;manually. If so, WAB will calculate apiUrl automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mostly, when you deploy the app, you should set &lt;EM&gt;&lt;STRONG&gt;apiUrl&lt;/STRONG&gt; &lt;/EM&gt;in env.js as the following screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/235578_pastedImage_11.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 08:51:54 GMT</pubDate>
    <dc:creator>QunSun</dc:creator>
    <dc:date>2016-09-28T08:51:54Z</dc:date>
    <item>
      <title>WAB application created on Windows fails to open on a Mac</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752750#M19720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should it be possible to run a Web AppBuilder application on a Mac?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I'm using&amp;nbsp;the Developer edition of WAB on Windows 7 to create a simple WAB application&lt;/LI&gt;&lt;LI&gt;I Download the application from WAB and put it in the Windows machine's &lt;EM&gt;/inetpub/wwwroot/xyz&lt;/EM&gt; folder&lt;/LI&gt;&lt;LI&gt;the application works as expected when accessed via &lt;A href="http://localhost/xyz"&gt;http://localhost/xyz&lt;/A&gt;&amp;nbsp;&amp;nbsp;on the Windows machine&lt;/LI&gt;&lt;LI&gt;I zip up the application and copy it across to a Mac which is running Apache, and put it in the&amp;nbsp;/Library/WebServer/Documents/xyz folder&lt;/LI&gt;&lt;LI&gt;the application fails to run on the Mac, with multiple 404 errors:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;IMG alt="404 errors" class="image-1 jive-image j-img-original" src="/legacyfs/online/234235_Screen Shot 2016-09-26 at 11.35.52 AM.png" style="width: 620px; height: 106px;" /&gt;&lt;/P&gt;&lt;P&gt;eg:&amp;nbsp;&lt;EM&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fhttp%3A%2F%2Flocalhost%2F%2Fjsapi%2Fjsapi%2Fdojo%2Fresources%2Fdojo.css" rel="nofollow" target="_blank"&gt;http://localhost/http://localhost//jsapi/jsapi/dojo/resources/dojo.css&lt;/A&gt;&lt;SPAN&gt; Failed to load resource: the server responded with a status of 404 (Not Found)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is the path referencing localhost twice (&lt;EM&gt;&lt;A href="http://localhost/http://localhost//jsapi/)"&gt;http://localhost/http://localhost//jsapi/)&lt;/A&gt;&lt;/EM&gt;? Note that this doesn't occur on the Windows machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is a WAB application supported on a Mac? thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 01:45:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752750#M19720</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2016-09-26T01:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: WAB application created on Windows fails to open on a Mac</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752751#M19721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Are you using a local install of the JS API in your web app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 12:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752751#M19721</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-26T12:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: WAB application created on Windows fails to open on a Mac</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752752#M19722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, it's a vanilla WAB installation and a simple application with nothing fancy in it.&amp;nbsp;The strange thing is that the identical code works on Windows, while failing on the Mac.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not a big deal as I can run it on the Windows VM on the Mac, so I guess I'm just curious as to why it doesn't work there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 00:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752752#M19722</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2016-09-27T00:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: WAB application created on Windows fails to open on a Mac</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752753#M19723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you don't set &lt;EM&gt;&lt;STRONG&gt;apiUrl &lt;/STRONG&gt;&lt;/EM&gt;manually. If so, WAB will calculate apiUrl automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mostly, when you deploy the app, you should set &lt;EM&gt;&lt;STRONG&gt;apiUrl&lt;/STRONG&gt; &lt;/EM&gt;in env.js as the following screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/235578_pastedImage_11.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 08:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/752753#M19723</guid>
      <dc:creator>QunSun</dc:creator>
      <dc:date>2016-09-28T08:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: WAB application created on Windows fails to open on a Mac</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/1109638#M21483</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This error has also happened to me on windows!&lt;/P&gt;&lt;P&gt;QunSun's solution worked for me but I've seen that code is commented only if you copy the app from the server/apps folder. However, if you download the app of the WAB itself, everything comes without comment and is ready to deploy.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 11:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-application-created-on-windows-fails-to-open/m-p/1109638#M21483</guid>
      <dc:creator>LibertadChapinalC</dc:creator>
      <dc:date>2021-10-21T11:52:12Z</dc:date>
    </item>
  </channel>
</rss>

