-
Notifications
You must be signed in to change notification settings - Fork 12k
Uncaught TypeError: Cannot read property '_android' of undefined #14889
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
Comments
Hi, thanks for opening this issue, this shares the same root causes as #14747 There is an explanation on why this is happens here: #14747 (comment) The most important part being the last point in this link: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#Other_differences_between_modules_and_standard_scripts,` A top-level |
Thanks @alan-agius4 , the problem is with angularx-qrcode library, i found this related issue: Cordobo/angularx-qrcode#49 |
@bop10 I got same issue when I used "angularx-qrcod" lib. Can you explain, Why It this issue come. what's the problem with this library? |
I use this library too, same issue. |
I found the solution: |
@martiendejong Ok, But is there any Performance problem with replace of target : es2015 to es5 to Our Apps |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: Angular 7.
Description
I have an app builded and deployed in Angular 7. I recently updated to Angular 8, and i did the build process and deployed the app (firebase). The build process was successful, without any errors.
When the Service worker catched the new version, the error pops up and i cant see the app.
🔬 Minimal Reproduction
Just builded the app.
🔥 Exception or Error
Opening the app in Chrome:
If i click on the error, the fail is here:
if(this._android&&this._android<=2.1){var t=1/window.devicePixelRatio...
Opening the app in Safari, the error is in this piece of code:
Opening the app in FireFox:
TypeError: this is undefined
🌍 Your Environment
I can do ng serve and even
ng serve --configuration=production
and no errors popped up in my browser, just happens on the builded app.The text was updated successfully, but these errors were encountered: