TypeError: Cannot read property 'nativeElement' of undefined

Hi there!

The error suggests that this.viewer is undefined. This would be an error in your code and not related to PDF.js Express, so unfortunately I cannot be of much help here.

Thanks!
Logan