Highlight Text is not working

Hi, I’m trying to test out the text highlight functionality but got errors which are mentioned below

1. Uncaught (in promise) Error: addAnnotations: Annotations are not available in the free viewer build of PDF.js Express. For full annotation support, please use the full version of PDF.js Express.

** at Proxy.Xn (webviewer-core.min.js:357:412)**

** at bundle.js:118:31**

2. Uncaught Error: deleteAnnotations: Annotations are not available in the free viewer build of PDF.js Express. For full annotation support, please use the full version of PDF.js Express.

** at Object.get (webviewer-core.min.js:400:106)**

** at removeHighlightedText (App.js:102:1)**

** at App.js:128:1**

** at Array.forEach ()**

** at HTMLInputElement. (App.js:124:1)**

** at App.js:22:1**

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi there,

As the error message states, annotations are not supported in the free viewer version of PDF.js Express.

If you want annotation support, please upgrade to PDF.js Express Plus (npm link here). There is an unlimited free trial so you don’t need to pay until you’re ready for production.

Thanks!
Logan

I’m already using the same npm package, still not working