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

Cannot read property 'TYPED_ARRAY_SUPPORT' of undefined #624

Closed
ghost opened this issue Jun 30, 2016 · 6 comments
Closed

Cannot read property 'TYPED_ARRAY_SUPPORT' of undefined #624

ghost opened this issue Jun 30, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 30, 2016

when I try to run my application I have only this issue

in line 248 of pdfmake.js

captura de pantalla 2016-06-30 a las 13 37 22

@codedge
Copy link

codedge commented Jul 18, 2016

I am facing the same problem. Somebody found out what this is?

@alexandre-roitman
Copy link

Me too, will be glad if someone could assist..

@wesley100002001
Copy link

I'm facing this as well, so far I think it's related to webpack.
pdfmake.js is build by webpack and I'm building my webapp with webpack
I'm afraid that webpack has compiled pdfmake.js again to cause this error, I saw ppl discussing the 'TYPED_ARRAY_SUPPORT'
But still, trying to figure it out...

@wesley100002001
Copy link

wesley100002001 commented Jul 22, 2016

I found this working using script-loader
#150 (comment)

plus adding the config in webpack
exclude: [
/node_modules/,
/pdfmake.js$/ <--
]

@liborm85
Copy link
Collaborator

Fixed in new release.

@omkadiri
Copy link

I just migrate to webpack and am using pdfmake v0.1.25. Am still can seeing this error, is there anything else i need to do beside importing
import "pdfmake/build/pdfmake.js";
import "pdfmake/build/vfs_fonts.js"; or
import "pdfmake/build/pdfmake.min.js";
import "pdfmake/build/vfs_fonts.js";

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

5 participants