yobryon / ngx-barcode

An angular component for Angular 4+ for creating 1-D barcodes based on Lindell's JsBarcode
https://yobryon.github.io/ngx-barcode
81 stars 53 forks source link

Error after update to Angular 11.2.4 #37

Open SanderOtten opened 3 years ago

SanderOtten commented 3 years ago

After updating my project to the latest Angular version (11.2.4) I get this error;

ERROR in /../../node_modules/ngx-barcode/__ivy_ngcc__/index.js 128:8-32 "export 'ɵɵstaticViewQuery' (imported as 'ɵngcc0') was not found in '@angular/core'

Can this be solved? Or is there a workaround?

shawnteh1711 commented 3 years ago

After updating my project to the latest Angular version (11.2.4) I get this error;

ERROR in /../../node_modules/ngx-barcode/ivy_ngcc/index.js 128:8-32 "export 'ɵɵstaticViewQuery' (imported as 'ɵngcc0') was not found in '@angular/core'

Can this be solved? Or is there a workaround?

Are you using any IDE? Not sure if this module support ivy angular 11.0. May need to revert the update.

chrisbendel commented 2 years ago

@SanderOtten Ran into the same issue, turns out there's an updated fork to work with angular 8+ here https://github.com/efgiese/ngx-barcode6