Hi there,
License keys are domain locked meaning they can only be used from a web browser. PDF.js Express will not work in an Electron app because Electron apps do not have a domain name.
If you need to use a viewer in an Electron app, you can check out our sister product PDFTron WebViewer, whos license keys are not domain locked.
Thanks!
Logan