Product: PDF.JS Express Viewer
Product Version: 8.7.0
Please give a brief summary of your issue: Angular build throwing querySelector Error in console
Please describe your issue and provide steps to reproduce it:
I’m running the Angular Sample build and I’m getting the following error in the console:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘querySelector’)
Please provide a link to a minimal sample where the issue is reproducible: Just download the Angular Sample build from GitHub - pdfjs-express/pdfjs-express-viewer-angular-sample , which is the URL provided in the docs. Run npm install and npm start.