HelloWorld
HelloWorld

Reputation: 382

ERROR in Metadata version mismatch for module for the node module "angular2-multiselect-dropdown "

After updating the node module angular2-multiselect-dropdown from v3.2.1 to v4.0.0. Then while running angular built command, It gives "ERROR in Metadata version mismatch for module" For info: Am using yarn PM. Please guide me on this.

I am using angular(v4), @angular/cli: 1.2.7, node-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

Upvotes: 1

Views: 590

Answers (1)

user6299088
user6299088

Reputation:

Use ngx-multi-select-dropdown:

for later angular versions:

npm i ngx-multi-select-dropdown

Upvotes: 1

Related Questions