DEAN-ngo / elimupi

Other
3 stars 9 forks source link

The webinterface of Kolibri generates warnings #49

Closed joostdam closed 2 years ago

joostdam commented 2 years ago

When opening http://kolibri.elimupi.online:8080/ in the console, it shows 7 warnings.

DevTools failed to load source map: Could not load content for http://kolibri.elimupi.online:8080/en/device/kolibri.plugins.user.login_side_nav-0.14.7.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load source map: Could not load content for http://kolibri.elimupi.online:8080/en/device/kolibri.core.frontend_head_assets-0.14.7.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load source map: Could not load content for http://kolibri.elimupi.online:8080/en/device/kolibri.plugins.user.user_profile_side_nav-0.14.7.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load source map: Could not load content for http://kolibri.elimupi.online:8080/en/device/kolibri.plugins.device.side_nav-0.14.7.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load source map: Could not load content for http://kolibri.elimupi.online:8080/en/device/kolibri.plugins.learn.side_nav-0.14.7.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load source map: Could not load content for http://kolibri.elimupi.online:8080/en/device/kolibri.plugins.facility.side_nav-0.14.7.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load source map: Could not load content for http://kolibri.elimupi.online:8080/en/device/kolibri.plugins.coach.side_nav-0.14.7.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

joostdam commented 2 years ago

Solution at https://stackoverflow.com/questions/61339968/error-message-devtools-failed-to-load-sourcemap-could-not-load-content-for-chr, has nothing to do with the code, is a chrome issue....

Chrome added support for source maps. Go to the developer tools (F12 in the browser), then select the three dots in the upper right corner, and go to Settings. Then, look for Sources, and disable the options: "Enable JavaScript source maps" "Enable CSS source maps" If you do that, that would get rid of the warnings. It has nothing to do with your code. Check the developer tools in other pages and you will see the same warning.