Regex error while trying to add license

Product: PDFTRON

Product Version:
@pdftron/pdfnet-node”: “^10.11.0”,

While trying to run the PDFNet.initialize with my license key, I get the following error.
I’m running it inside a docker container with the node:18-alpine.

terminate called after throwing an instance of ‘boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::regex_error >’
what(): Invalid character class name, collating name, or character range. The error occurred while parsing the regular expression fragment: ‘+([a-z0-9]>>>HERE>>>+)\s*(.*)’.

1 Like

Thank you for posting the incident to our forum. We will provide you with an update as soon as possible.

1 Like

This is likely caused because Alpine is not supported with our SDK. We recommend switching to a Debian based container such as Bullseye when using our Node SDK in a docker container.

Let me know if this helps resolve the issue.

1 Like