I have a fresh install of yarn (via npm install yarn -g) and tried to install a few packages with
yarn add vue-loader babel-loader style-loader css-loader file-loader webpack
I then got a few warnings during the installation, such as
warning "vue-loader@13.3.0" has unmet peer dependency "vue-template-compiler@^2.0.0".
A sister question (about npm) on the same subject yields a few answers which suggest to
- update
npm - remove
node_modulesas there is a bug innpmabout handling dependencies.
I cannot discard the packages in the warnings, as the webpack build fails, which leads to me having to manually install them. At the same time, quite a few dependencies were installed so I do not understand why these were not installed.
What does the above warning mean, and why doesn't yarn install these dependencies on its own?