pdfmake.min.js.map is not found and console shows a 404 warning

pdfmake.min.js.map is not found and console shows a 404 warning

DarckCrystaleDarckCrystale Posts: 5Questions: 2Answers: 0


I encounter a warning when I use DataTables on my project.

- Go to the https://datatables.net/download page
- Select Bootstrap 4 as Styling
- Select DataTables as packages
- Select Html5 export, Print view, Col reorder, Fixed Columns, Fixed header and Row group as extensions
- Select Download as download method
- Extract the archive into your project
- Call DataTables in your <head> by doing <script src="{{ asset('javascript/library/datatables.min.js') }}"></script>
- Create a DataTable on a page by doing $('#myTable').DataTable({});

Problem encountered:
My console shows a warning

Erreur dans les liens source : request failed with status 404
URL de la ressource :
URL du lien source : pdfmake.min.js.map

I think my problem is related to: https://datatables.net/forums/discussion/31551/failed-to-load-resource-error-bug

This question has an accepted answers - jump to answer


  • colincolin Posts: 7,540Questions: 0Answers: 1,274
    Answer ✓

    Hi @DarckCrystale ,

    I just tried that and it worked as expected for me. The thread you linked to is an old one. Have you included the external libraries for pdfmake - the error is suggesting you haven't. See the JS and CSS tabs on this example here.

    If that doesn't help, could you link to a page that's showing the problem, please. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.



Sign In or Register to comment.