Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating pdfjs fro 2.6.347 to 2.7.570: Uncaught TypeError: Cannot set property 'workerSrc' of undefined #28

Open
jzillmann opened this issue Apr 12, 2021 · 3 comments
Labels
Milestone

Comments

@jzillmann
Copy link
Owner

  • Update pdfjs, e.g. npm remove --save pdfjs-dist && npm install --save pdfjs-dist
  • Run the application nom start
  • => Error: Uncaught TypeError: Cannot set property 'workerSrc' of undefined

Screenshots from Chrome & Safari:
Chrome
Safari

@jzillmann jzillmann added the bug label Apr 12, 2021
@jzillmann jzillmann added this to the v2 milestone Apr 12, 2021
@darkcheftar
Copy link

sire @jzillmann,
In which branch do we need to do this. In master or modularize?

@jzillmann
Copy link
Owner Author

Sorry for late replay @darkcheftar . In modularize!

@darkcheftar
Copy link

Do the issue still exists?

As far as I understand the essential code is present

pdfjs.GlobalWorkerOptions.workerSrc = 'bundle.worker.js';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants