Base solution for your next web application
Open Closed

TypeError: util__WEBPACK_IMPORTED_MODULE_1__.TextDecoder is not a constructor #11282


User avatar
0
ips-jm created
  • What is your product version? -> 8.4
  • What is your product type (Angular or MVC)? -> Angular
  • What is product framework type (.net framework or .net core)? -> .net core

Hello, I'm currently implementing a new pdf editor in our application. From the editor we are receiving an uint8 array which we need to convert to a base64 encoded string. I tried it like this:

But when I try to save the annotated pdf I receive the following exception:

According to the TypeScript documentation this should work.

Thank you in advance for any upcoming ideas.


1 Answer(s)
  • User Avatar
    0
    ips-jm created

    Was an error on my side. IDE imported an unknown Module "TextDecoder" and I didn't notice it.