khodekazemi
khodekazemi

Reputation: 143

Multiple versions of aurelia-dependency-injection found

I want to validate form and for this, I need to install aurelia-validation package and register that plugin in main.js. But when I do this, I get the below warning:

Multiple versions of aurelia-dependency-injection found: 1.4.2 ./~/aurelia-dependency-injection 1.5.0 ./~/aurelia-validation/~/aurelia-dependency-injection

Update: checked the package-lock.json and found the various version of aurelia-dependency-injection that used by different modules, one of them aurelia-validation and the other is aurelia-cli

Upvotes: 5

Views: 275

Answers (1)

khodekazemi
khodekazemi

Reputation: 143

Apparently i had conflict submodule interference, i changed the import method from aurelia-dependency-injection to aurelia-framework and i have no warning apparently this is the solution.

Upvotes: 1

Related Questions