Getting 404 quill.min.js.map error with Primefaces 8 - primefaces

I am using primefaces texteditor and primefaces-extension ckeditor both on the same page.
DevTools failed to load SourceMap: Could not load content for http://localhost:8080/XX/javax.faces.resource/texteditor/quill.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

You can ignore that error. It is because PF TExtEditor uses QuillJS and it has this line in its JS.
//# sourceMappingURL=quill.min.js.map
And that file does not exist because PF does not include it. the browser Dev Tools just attempt to load it to help you debug.
Disable source map checks in Chrome: https://stackoverflow.com/questions/35002087/disable-source-maps-in-chrome-devtools#:~:text=2%20Answers&text=Open%20Developer%20Tools%2C%20go%20to,under%20the%20%22Sources%22%20settings.&text=You%20can%20double%20click%20line,files%20to%20unminified%20output%20files.

Related

Mediawiki Page Forms Javascript error when adding a new field

I use:
MediaWiki v1.39
Extension Page Forms 5.5.1
Extension Cargo 3.3.1
PHP 7.4 or PHP 8.0.26
When I open page Special:CreateClass, fill in a field and then click "Add field" I get a javascript error.
Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
at pf.ComboBoxInput.apply (<anonymous>:86:73)
at jQuery.fn.createTemplateAddField (<anonymous>:79:26)
at HTMLSpanElement.<anonymous> (<anonymous>:84:116)
at HTMLSpanElement.dispatch (load.php?lang=nl&modules=ext.pageforms.select2%7Cjquery%2Cmoment%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=8i8qb:206:260)
at elemData.handle (load.php?lang=nl&modules=ext.pageforms.select2%7Cjquery%2Cmoment%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=8i8qb:202:877)
I also have installed the Cargo 3.3.1 extension, but get the same error whether I uncheck or check the box "Use the Cargo extension..."
When using Firefox I get the error:
apply jQuery
load.php:234:45
jQuery 23
Tried it in Chrome and Edge too but doesn't work in those either.
UPDATE 18-dec-2022:
I installed Mediawiki 1.35.8 and PageForms 5.5.1 and get the javascript error.
Solution / Workaround:
After installing PageForms 5.5 it is working in 1.39

Flutter Web main.dart.js.map issue

I have deployed one flutter web app. when it is loaded in console I can see the error as follows.
is this file require for functional website?
DevTools failed to load SourceMap: Could not load content for http://localhost:8080/main.dart.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

How to fix this error when using Live Server extension in Visual Studio Code?

DevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/iframe_handler.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/content.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
Is there any way to fix this?
I had almost exactly the same problem:
DevTools failed to load SourceMap: Could not load content for chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME"
It indicated in the error it has something to do with Chrome extensions, so I went into my extensions and searched (Ctrl-F) for a small snippet of the error text, hdokiejnpimake. It found that LastPass: Free Password Manager 4.47.0 was the problem. I disabled it and the error went away.

Failed to parse SourceMap: .../assets/5817df3/css/bootstrap.min.css.map

i using BootstrapAsset in my project, code run on local is ok. So i check on server has error about SourceMap.
About error:
Failed to parse SourceMap: My Web url/assets/5817df3/css/bootstrap.min.css.map
I try open this url and see error:
I don't know exact problem. So how can i fix it, or show me how to debug.
Solution is use CDN and config by Customizing Asset Bundles
Please check if you have the same version of bootstrap css and Bootstrap JS.... this happened to me because i had different versions.

Failed to load resource: net::ERR_EMPTY_RESPONSE

I came across the following error in chrome for this url.
Failed to load resource: net::ERR_EMPTY_RESPONSE http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Nuvola_apps_kaboodle.svg/16px-Nuvola_apps_kaboodle.svg.png
I'm able to open the url provided in the error message without any errors.
So, What is the reason for the error?
I have this issue in my website with the file indexMob.js since I installed Avast Antivirus.
When I disabled the web shield feature its solved the issue.