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

Cannot read properties of undefined (reading 'querySelector') or Uncaught (in promise) TypeError: n is undefined #1

Open
yita0101 opened this issue Jul 28, 2022 · 4 comments

Comments

@yita0101
Copy link

yita0101 commented Jul 28, 2022

It is installed directly according to the repo,but it doesn't work properly.
report an error:Cannot read properties of undefined (reading 'querySelector')
image
Here is Firefox error:
Uncaught (in promise) TypeError: n is undefined
image
@pdftron/pdfjs-express-viewer version
image

@yita0101 yita0101 changed the title Cannot read properties of undefined (reading 'querySelector') Cannot read properties of undefined (reading 'querySelector') or Uncaught (in promise) TypeError: n is undefined Jul 28, 2022
@yita0101
Copy link
Author

Debug finds that n is not passed in during the call
image
image

@ybj6118
Copy link

ybj6118 commented Oct 6, 2022

Debug finds that n is not passed in during the call image image

I have the same problem, how did you solve it

@ybj6118
Copy link

ybj6118 commented Oct 6, 2022

Is it a package version problem?

@yita0101
Copy link
Author

yita0101 commented Oct 6, 2022

Is it a package version problem?

maybe... I forgeted it. if it is my probelm, I will try to change other version.

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

No branches or pull requests

2 participants