Error using web-build of pdf-reader

(This is not directly related to using Zotero, so I'm not sure if I should post here or create an issue over at https://github.com/zotero/pdf-reader, let me know if I should change to the letter.)

I really like the PDF annotation implemented for Zotero, but as I annotate a bunch of PDFs that have no place in my library, I'd like to use it standalone. Hence, I want to build an app from the web build.

I got the build script to work, and everything seems fine when running `npm run start` and visiting `http://localhost:3000/web/viewer.html`, but when opening a PDF no containing annotations are shown, and I get the error

```
Uncaught TypeError: window.drawAnnotations is not a function
```

when opening the annotation pane.

I did not change the generated viewer.html.

Any ideas what the problem is here? I'm not familiar with webpack and don't really now how to debug this...
Sign In or Register to comment.