ngx-scanner icon indicating copy to clipboard operation
ngx-scanner copied to clipboard

export declare class ZXingScannerModule

Open psteja96 opened this issue 5 years ago • 4 comments

Getting below error in Angular 10 project, after installation

ERROR in node_modules/@zxing/ngx-scanner/lib/zxing-scanner.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.

This likely means that the library (@zxing/ngx-scanner) which declares ZXingScannerModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

psteja96 avatar Oct 27 '20 15:10 psteja96

Please, can you at least share the nix-scanner version you're using?

odahcam avatar Oct 29 '20 21:10 odahcam

@odahcam Hi, on npmjs.org, it says the version 3.1.2 is deprecated. Is this project stil maintained? Should I use another version??

MatehElismar avatar Nov 03 '20 21:11 MatehElismar

You should use v3.0.x. Thanks!

odahcam avatar Nov 04 '20 00:11 odahcam

Thanks! Keep up the great work!

MatehElismar avatar Nov 04 '20 00:11 MatehElismar