Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple versions of aurelia-dependency-injection found

Tags:

npm

aurelia

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

like image 938
khodekazemi Avatar asked Nov 07 '22 14:11

khodekazemi


1 Answers

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.

like image 143
khodekazemi Avatar answered Nov 14 '22 23:11

khodekazemi