doesn't work with ng build or ng build --prod
See original GitHub issuethis lib is amazing i coded all my stuff and everything worked fine till the time i was testing on localhost so after finishing my code i deployed my app to website and it doesn’t work there and no errors in console
following are my code work space configurations
`Angular CLI: 7.3.9 Node: 8.12.0 OS: win32 x64 Angular: 7.2.15 … animations, common, compiler, compiler-cli, core, forms … language-service, platform-browser, platform-browser-dynamic … router
Package Version
@angular-devkit/architect 0.13.9 @angular-devkit/build-angular 0.13.9 @angular-devkit/build-optimizer 0.13.9 @angular-devkit/build-webpack 0.13.9 @angular-devkit/core 7.3.9 @angular-devkit/schematics 7.3.9 @angular/cli 7.3.9 @angular/fire 5.2.1 @ngtools/webpack 7.3.9 @schematics/angular 7.3.9 @schematics/update 0.13.9 rxjs 6.3.3 typescript 3.2.4 webpack 4.29.0`
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top GitHub Comments
Hi @bkimminich , I’m actively working on a version without this error, meanwhile a temporary workaround has to be applied, es2015 as target does not work yet for production builds, see here:
https://github.com/Cordobo/angularx-qrcode#install-160-with-angular-8
You could although checkout the sample repo from above, which doesn’t throw the
this._android
error with angular 8.HTH
Hi @frabanca,
Please use the workaround mentioned above until a refactored version is available:
Replace:
"target": "es2015"
with"target": "es5"
Closing this, as I’m actively working on this.