arcgis web app won't start

1186
2
Jump to solution
03-17-2020 04:11 AM
AyoubBeltarchi
New Contributor II

I'm trying to make a test application using Arcgis Web AppBuilder, I built the app downloaded it, unziped it at first the page stuck at loading, so I edited env.js apiUrl = 'init.js'; but the app still not working ,it loads for moments then i get this error message "GET /headless-content.js.map" Error (404): "Not found", I tried to locate this file but never found it. I'm using http-server and nodejs to launch the app.

Any tips how to find out what causes the problem?

Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
AyoubBeltarchi
New Contributor II
0 Kudos
2 Replies
AyoubBeltarchi
New Contributor II

i used development mode and i noticed that the app stop working after redirecting from HTTP to HTTPS  so i changed the portalUrl to an HTTP link, but i still get the same message redirecting to HTTPS... 

0 Kudos
AyoubBeltarchi
New Contributor II
0 Kudos