'two different versions of packages in package-lock.json
I have installed two packages @svgr/[email protected] and [email protected]. In this @svgr/[email protected] contains css-what version 3.4.2 but I installed it explicitly of version 5.0.1. Now which version of css-what will be installed
├─┬ @svgr/[email protected]
│ └─┬ @svgr/[email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─ [email protected]
Solution 1:[1]
When all packages, including the root one - ie yours - require('css-what') they will use 5.0.1 - and when css-select requires it - it will use 3.4.2.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | mmomtchev |
