You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrating ng2-qrcode with an angular-cli project gives the below error while running the prod build
ng build --prod
ERROR in Unexpected value 'QRCodeComponent in /../angular-cli/../node_modules/ng2-qrcode/dist/ng2-qrcode.d.ts' declared by the module 'AppModule in /angular-cli/../src/app/app.module.ts'
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'angular-cli/../src'
@ ./src/main.ts 4:0-74
@ multi ./src/main.ts
On raising the issue in angular-cli, I was told that the published ng2-qrcomponent package is outdated. Can this be updated to work with angular-cli?
The text was updated successfully, but these errors were encountered:
Integrating ng2-qrcode with an angular-cli project gives the below error while running the prod build
ng build --prod
ERROR in Unexpected value 'QRCodeComponent in /../angular-cli/../node_modules/ng2-qrcode/dist/ng2-qrcode.d.ts' declared by the module 'AppModule in /angular-cli/../src/app/app.module.ts'
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'angular-cli/../src'
@ ./src/main.ts 4:0-74
@ multi ./src/main.ts
On raising the issue in angular-cli, I was told that the published ng2-qrcomponent package is outdated. Can this be updated to work with angular-cli?
The text was updated successfully, but these errors were encountered: