Should it be possible to run a Web AppBuilder application on a Mac?
eg: http://localhost/http://localhost//jsapi/jsapi/dojo/resources/dojo.css Failed to load resource: the server responded with a status of 404 (Not Found)
Why is the path referencing localhost twice (http://localhost/http://localhost//jsapi/)? Note that this doesn't occur on the Windows machine.
Is a WAB application supported on a Mac? thanks
Solved! Go to Solution.
Hi Steve,
I guess you don't set apiUrl manually. If so, WAB will calculate apiUrl automatically.
Mostly, when you deploy the app, you should set apiUrl in env.js as the following screenshot.
Have a try.
Stephen,
Are you using a local install of the JS API in your web app?
Hi Robert,
No, it's a vanilla WAB installation and a simple application with nothing fancy in it. The strange thing is that the identical code works on Windows, while failing on the Mac.
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.
Thanks,
Steve
Hi Steve,
I guess you don't set apiUrl manually. If so, WAB will calculate apiUrl automatically.
Mostly, when you deploy the app, you should set apiUrl in env.js as the following screenshot.
Have a try.
Hi!
This error has also happened to me on windows!
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.