Recently, I updated the node module angular2-multiselect-dropdown from version v3.2.1 to v4.0.0. However, when running the angular build command, I encountered an "ERROR in Metadata version mismatch for module". Just to provide some context, I am using yarn as my package manager. Any guidance on how to resolve this issue would be greatly appreciated.
In terms of my current setup, I am working with angular (v4), @angular/cli v1.2.7, and Node.js v8.2.1
ERROR in Metadata version mismatch for module /Users/welcome/wed/project/gui/management/node_modules/angular2-multiselect-dropdown/angular2-multiselect-dropdown.d.ts, found version 4, expected 3
ERROR in ./src/main.ts Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/Users/welcome/wed/project/gui/management/src' @ ./src/main.ts 3:0-74 @ multi ./src/main.ts