When I run my application locally I can see in the browser console:
PDFJS express: Development environment detected. This license key is currently registered to dealsandprojects .com
When running on production system on preview .dealsandprojects .com I get the following error: PDFJS express: A valid license key is required to use the view only build of PDF js Express.
Please ensure you are using the latest version and that the static dependencies were properly swapped out if/when you upgraded (this means deleting the old dependencies and replacing them with the new ones)
There was a bug in the previous version that could cause this error but it was fixed in the latest.
thank you very much for the information.
I downloaded the newest version here https://pdfjs.express/download-viewer and then I downloaded the newest version via npm. But without success. In the browser console I can see
UI version 8.2.0
Core version 8.2.1