-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 '_android') #292
Comments
Have you solved this problem yet? |
@Sun-hai-yang What do you mean exactly? The problem can be fixed with the above "patch". Do you need to know how you can apply it to your own codebase? |
For me it still gives the same issue, even after the fix |
I have the same problem as you🥲 |
I have found a solution! Replace 'qrcodejs2' with 'qrcodejs2-fix` in package.json: |
I have checked the source code of the error location and the solution is consistent with @Cyclodex proposed method |
the same problem |
the same problem |
thank you so much! |
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.My issue was, after updating to Vue 2.7.13 and @vue/cli 5.0.8 the generated JS code throws an error, because "this" is undefined when running this line:
if (this._android && this._android <= 2.1) {
I think its related to js modules and this is always undefined on global level.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: