Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I am working with angular 1.5 with webpack. And I want to create PDF with pdfmake for that I am including two js in
import '../../../vendor/js/pdfmake.min.js';
import '../../../vendor/js/vfs_fonts.js';
but after including when I run application with gulp serve command it didn't shown any error on console but on browsers developer console it displays error
Cannot read property 'TYPED_ARRAY_SUPPORT' of undefined
The Line in pdfmake.js where I have an error is
t.TYPED_ARRAY_SUPPORT = void 0 !== r.TYPED_ARRAY_SUPPORT ? r.TYPED_ARRAY_SUPPORT : i(), t.TYPED_ARRAY_SUPPORT && (t.prototype.__proto__ = Uint8Array.prototype, t.__proto__ = Uint8Array), t.isBuffer = function(t) {
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.