Updated Frequently Asked Questions (markdown)
parent
6e0b1a6dad
commit
99b4fe27d0
@ -85,7 +85,7 @@ The Firefox extension is not supported and marked as disabled for Firefox versio
|
||||
|
||||
<a name="version-mismatch"></a>
|
||||
## Reasons for the Error: `The API version "a.b.c" does not match the Worker version "x.y.z"`?
|
||||
When using the PDF.js library, it's necessary to use the *exact* same versions of the `pdf.js` and `pdf.worker.js` files since otherwise things are not guaranteed to work correctly. In order to prevent bugs, the library will thus throw the aforementioned error if there's a version mismatch.
|
||||
When using the PDF.js library, it's necessary to use the *exact* same version of the `pdf.js` and `pdf.worker.js` files since otherwise things are not guaranteed to work correctly. In order to prevent bugs, the library will thus throw the aforementioned Error if there's a version mismatch.
|
||||
|
||||
Possible reasons for this Error include (but may not be limited to):
|
||||
- Updating to a new version of the PDF.js library, and the old `pdf.worker.js` file being cached in the browser. Usually clearing the browser cache, and then refreshing the page, should help in this case.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user