1

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

1 Answers1

3

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.

Melloware
  • 10,435
  • 2
  • 32
  • 62
  • 1
    can I stop this error from appearing on the browser console? – Singh Arpita Oct 30 '20 at 15:09
  • Looks like this will do it: 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. – Melloware Oct 30 '20 at 15:49