# Am getting this error when loading WebViewer with Vue application

**URL:** <https://pdfjs.community/t/am-getting-this-error-when-loading-webviewer-with-vue-application/1319>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [January 21, 2022, 5:44am UTC](https://pdfjs.community/t/am-getting-this-error-when-loading-webviewer-with-vue-application/1319 "2022-01-21T05:44:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![user63](https://avatars.discourse-cdn.com/v4/letter/u/49beb7/32.png) [@user63](https://pdfjs.community/u/user63)\
**Post date:** [January 21, 2022, 5:44am UTC](https://pdfjs.community/t/am-getting-this-error-when-loading-webviewer-with-vue-application/1319/1 "2022-01-21T05:44:21Z")

</div>

**Which product are you using?**  
PDF.js Express Plus

**PDF.js Express Version**  
webviewer.min.js?b018:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading ‘addEventListener’)

**Detailed description of issue**  
Am getting this error, and am using PDF.js Express Plus Licenses with Vue .

**Expected behaviour**  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/95f5485be0d905e7e10ac3b0bc6c0ff0a8b622e8.png)  
oad://loAEQfM9MkwEdgu5LNaICkX5yR2.png)

**Does your issue happen with every document, or just one?**  
All documents

**Code snippet**

div { width: 100%; height: 100vh; }

---

_[View the full topic](https://pdfjs.community/t/am-getting-this-error-when-loading-webviewer-with-vue-application/1319)._
