Ad

Error Laravel Project With A Blade SourceMap

- 1 answer

I have a laravel project with a blade, and it worked perfectly, and overnight, it stopped working with this error:

DevTools failed to parse SourceMap: http://127.0.0.1:8000/assets/js/html2canvas.js.map
DevTools failed to parse SourceMap: http://127.0.0.1:8000/assets/css/bootstrap.min.css.map
DevTools failed to parse SourceMap: http://127.0.0.1:8000/assets/css/metisMenu.css.map
DevTools failed to parse SourceMap: http://127.0.0.1:8000/assets/js/popper.min.js.map
DevTools failed to parse SourceMap: http://127.0.0.1:8000/assets/js/bootstrap.min.js.map
DevTools failed to parse SourceMap: http://127.0.0.1:8000/assets/js/metisMenu.min.js.map

my JavaScript files are called normally in blade with:

{{URL::asset('assets/js/html2canvas.js')}}

The default view of laravel has no errors... I've tested it on windows and macos, and also on shared hosting, the same error happens.

Ad

Answer

that was the solution link, but I had some problems debugging a js script so I needed to solve it.

Thank you all for your help!

Ad
source: stackoverflow.com
Ad