quasarframework / quasar-cli

[DEPRECATED, <= 0.17) Quasar Framework - CLI
https://quasar.dev
MIT License
203 stars 50 forks source link

[Bug] Webpack does not load nested dependencies #197

Open dobromir-hristov opened 5 years ago

dobromir-hristov commented 5 years ago

Software version

OS: Windows Node: 10.9.0 NPM: 6.1.0 Any other software related to your bug:

What did you get as the error?

Webpack does not bundle properly packages, that have nested dependencies. It uses the first installed one, not looking first into resolving nested node_modules on packages.

This is a common case when two packages have colliding dependencies with incompatible versions.

What were you expecting?

The dependency from the package's node_modules to be loaded. Instead it loads the one that was previously installed.

What steps did you take, to get the error?

Installed vuelidate-error-extractor which has a colliding dependency - get-value with another library from the CLI. That already installed package however is incompatible with the required version from vuelidate-error-extractor thus causing build errors.