Repository navigation
[Bug]:
#21412
Replies: 0 comments
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.
Attach (recommended) or Link to PDF file
Used :
npx gulp generic-legacyto build,but still got:
pdf.mjs pdf.mjs.map pdf.sandbox.mjs pdf.sandbox.mjs.map pdf.worker.mjs pdf.worker.mjs.map,and see error:
Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at VM73151 pdf.js:15960:77)Web browser and its version
Chrome latest
Operating system and its version
Mac OS
PDF.js version
latest
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Used :
npx gulp generic-legacyto build,but still got:
pdf.mjs pdf.mjs.map pdf.sandbox.mjs pdf.sandbox.mjs.map pdf.worker.mjs pdf.worker.mjs.map,and see error:
Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at VM73151 pdf.js:15960:77)What is the expected behavior?
Genernate PDF.js, and should be working.
What went wrong?
Used :
npx gulp generic-legacyto build,but still got:
pdf.mjs pdf.mjs.map pdf.sandbox.mjs pdf.sandbox.mjs.map pdf.worker.mjs pdf.worker.mjs.map,and see error:
Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at VM73151 pdf.js:15960:77)Link to a viewer
No response
Additional context
No response
All reactions