nishantmc/angular-material-fileupload

"Can't resolve" errors when ng-building with Angular 6

Closed this issue · 1 comments

I'm trying to use the component in a small project, based on Angular 6 + Material

ng build produces:

ERROR in ./node_modules/angular-material-fileupload/matFileUpload.esm.js Module not found: Error: Can't resolve 'rxjs/observable/merge' in 'c:\...\node_modules\angular-material-fileupload' ERROR in ./node_modules/angular-material-fileupload/matFileUpload.esm.js Module not found: Error: Can't resolve 'rxjs/operators/startWith' in 'c:\...\node_modules\angular-material-fileupload'

Addition of:

"rxjs-compat": "6.0.0"

to my package.json seems to have resolved the problem