0

When I try to publish my project I got below error. ../node_modules/ng-multiselect-dropdown/ng-multiselect-dropdown.d.ts, found version 4, expected 3. I am using anular 4. How to resolve this? I reinstall npm, still it persists.

In package.json it is as "ng-multiselect-dropdown": "^0.2.3",

1
  • Can you show the piece of package.json where ng-multiselect-dropdown is placed? Commented Jun 14, 2019 at 6:17

2 Answers 2

1

Use ngx-multi-select-dropdown:

for later angular versions:

npm i ngx-multi-select-dropdown
Sign up to request clarification or add additional context in comments.

1 Comment

npm i ngx-multi-select-dropdown ---is it for angular 4?
0

You try to use with angular 3 library in Angular 4.

Incompatibility between versions causes an error.

You may consider using:

https://www.npmjs.com/package/angular4-multiselect-dropdown

1 Comment

I try was try with "ng-multiselect-dropdown": "^0.2.4". But still it is persists

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.