Source map error

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 70
Joined: Thu Mar 21, 2013 12:55 am

Source map error

Post by pault » Thu Sep 05, 2019 3:59 pm

In the Firefox console, I get the following error when building from WebHelp Responsive, even when using an unaltered DITA Map WebHelp Responsive scenario:

Source map error: TypeError: NetworkError when attempting to fetch resource.
Resource URL: file:///Users/pault/github/dse-docs/out/webhelp-responsive/oxygen-webhelp/lib/bootstrap/css/bootstrap.min.css
Source Map URL:

I'm building from MacOS Mojave 10.14.6.

Firefox seems to load the CSS but I thought I'd check.

Posts: 221
Joined: Tue Jul 01, 2014 11:48 am

Re: Source map error

Post by bogdan_cercelaru » Fri Sep 06, 2019 10:51 am


.map files allow a browser to download a full version of the minified CSS. It is really for debugging purposes.
In effect, the .map missing isn't a problem. You only know it is missing, as the browser has had its Developer tools opened, detected a minified file and is just informing you that the CSS debugging won't be as good as it could be.
In Firefox, you could press F1 in the Developer Tools and uncheck the "Enable Source Maps" in the "Advanced settings" section to prevent this warning.

Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Post Reply