Pdfmake: Cannot read property 'TYPED_ARRAY_SUPPORT' of undefined

Created on 30 Jun 2016  路  6Comments  路  Source: bpampuch/pdfmake

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

Most helpful comment

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";

All 6 comments

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

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

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...

I found this working using script-loader
https://github.com/bpampuch/pdfmake/issues/150#issuecomment-156143062

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

Fixed in new release.

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";

Was this page helpful?
0 / 5 - 0 ratings

Related issues

svenyonson picture svenyonson  路  3Comments

ValeSauer picture ValeSauer  路  3Comments

davidyeiser picture davidyeiser  路  3Comments

m-brudi picture m-brudi  路  3Comments

jokris1 picture jokris1  路  3Comments