Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pdfmake] warning failed to load SourceMap (fix provided) #486

Closed
lenamtl opened this issue Aug 14, 2020 · 3 comments
Closed

[pdfmake] warning failed to load SourceMap (fix provided) #486

lenamtl opened this issue Aug 14, 2020 · 3 comments

Comments

@lenamtl
Copy link

lenamtl commented Aug 14, 2020

Hi,

I'm testing pdfmake v 0.1.36

I'm getting this warning in Chrome dev tool.

DevTools failed to load SourceMap: Could not load content for ....pdfmake/pdfmake.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

@colin0117
Copy link
Collaborator

@lenamtl
Copy link
Author

lenamtl commented Aug 16, 2020

Hi,

Chrome require the map file so this this file should be included into the package and placed in the same directory of the pdfmake.js

I have downloaded the old version to fit the one used in Datatables package

https://github.com/bpampuch/pdfmake/blob/2edc027eea2ead7e5df6dfd9f264b3b286a03f64/build/pdfmake.min.js.map

That fix the warning issue

@lenamtl lenamtl changed the title [pdfmake] warning failed to load SourceMap [pdfmake] warning failed to load SourceMap (fix provided) Aug 16, 2020
@enigmaelectronica
Copy link

enigmaelectronica commented Apr 12, 2021

También ha solucionado mi problema:

PDF MAKE Error

Ya está solucionado. Muchas gracias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants