How to fix the warnings displayed in Dev tools?
-
Hi guys,
Does someone know how to fix these 2 warnings?- The resource https://example.com/assets/js-enabled.css??v=dj61t3h8c0m was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate
as
value and it is preloaded intentionally. - DevTools failed to load SourceMap: Could not load content for https://example.com/assets/src/modules/pulling-drawer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
P.S. I use nodebb v 1.14.1
- The resource https://example.com/assets/js-enabled.css??v=dj61t3h8c0m was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate
-
Did u solve this problem?
I got same warning too.DevTools failed to load SourceMap: Could not load content for https://example.com/assets/src/modules/jquery.form.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load SourceMap: Could not load content for https://example.com/assets/src/modules/pulling-drawer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
-
half solved.
found pulling-drawer.js, pulling-drawer.js.map in nodebb/node_modules/pulling/build
found jquery.form.min.js, jquery.form.min.js.map in nodebb/node_modules/jquery-form/dist
then I copied these file in nodebb/build/public/src/modules
no error logs printing at console nowbut if I rebuild nodebb, it disappears..
-
.js.map
files are just source maps. They're for debugging and you can safely ignore them failing to load. Is there a specific reason you're trying to silence those warnings in particular? -
@pitaj Currently I have problem with google search console.(Couldn't fetch sitemap) → problem with sitemap
So I was testing my website with some google tools(testing url in search console, PageSpeed Insights, ...) and search console show error with those files.
Just tried to solve my sitemap problem...
Still, the problem has not been solved