SyntaxError: private fields are not currently supported #19354
Unanswered
AlinaMatuschak
asked this question in
Q&A
Replies: 2 comments 1 reply
-
My code:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Those browsers seem to be too old even for the legacy build: https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#legacy-build You can try transpiling PDF.js's code with Babel, but you might also then have to manually load some polyfills. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Sentry, we encountered multiple "private fields are not currently supported" and "Unexpected token '{'" errors.
We are using [email protected] with the legacy PDF build.
Browsers affected by this issue include:
I am encountering errors in Sentry despite using try-catch. How can I prevent these errors and display a default result if the PDF fails to render?
Beta Was this translation helpful? Give feedback.
All reactions