In my two projects, I have defined devDependencies for optional-features as
"@ember/optional-features": "^1.3.0",
But when I do npm ls
after npm install
in both projects, I get different dependency tree.
One has
├─┬ @ember/optional-features@1.3.0
│ └─┬ inquirer@7.1.0
│ └── lodash@4.17.15 deduped
Second one has :
├─┬ @ember/optional-features@1.3.0
│ └─┬ inquirer@7.3.3
│ └── lodash@4.17.21 deduped
In ember/option-features, inquirer is defined as "inquirer": "^7.0.1",
I have verified that I am using same nvm version for both the projects.
Why npm is not getting same inquirer@7.3.3 for both projects? Is there something I am missing?
Aucun commentaire:
Enregistrer un commentaire