unmet peer dependency warnings using yarn
See original GitHub issueVersion
3.0.0-beta.9
Reproduction link
https://github.com/rgant/vue-helloworld-test-fails
Steps to reproduce
Run yarn add something
. Also for remove.
What is expected?
No warnings
What is actually happening?
unmet peer dependency warnings.
euphorbus:~/Programming/vue (master)$ yarn remove babel-preset-env --dev
yarn remove v1.6.0
(node:10184) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/2] 🗑 Removing module babel-preset-env...
[2/2] 📃 Regenerating lockfile and installing missing dependencies...
warning "@vue/cli-plugin-babel > babel-loader@8.0.0-beta.2" has unmet peer dependency "webpack@>=2".
warning "@vue/cli-plugin-e2e-cypress > eslint-plugin-cypress@2.0.1" has unmet peer dependency "eslint@>= 3.2.1".
warning "@vue/cli-plugin-pwa > workbox-webpack-plugin@3.1.0" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
warning "@vue/cli-plugin-typescript > fork-ts-checker-webpack-plugin@0.4.1" has unmet peer dependency "webpack@^2.3.0 || ^3.0.0 || ^4.0.0".
warning " > babel-core@7.0.0-bridge.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > sass-loader@6.0.7" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
warning " > ts-jest@22.4.4" has unmet peer dependency "jest@^22.4.0 || ^22.5.0-alpha.1 || ^23.0.0-alpha.1".
warning " > ts-jest@22.4.4" has unmet peer dependency "typescript@2.x".
success Uninstalled packages.
✨ Done in 6.62s.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:12 (7 by maintainers)
Top Results From Across the Web
What does 'has unmet peer dependency' mean when ...
The package vue-loader has a peer dependency on vue-template-compiler ... To resolve this warning you should run yarn add <package> for each ...
Read more >Yarn incorrectly warns about unmet peer dependencies #5347
In some cases, yarn will report that a peer dependency is unmet even when that dependency is available (as demonstrated by examining ...
Read more >check-peer-dependencies | Yarn - Package Manager
Checks peer dependencies of the current NodeJS package. Offers solutions for any that are unmet. This utility will recursively find all peerDependencies in...
Read more >yarn install peer dependencies automatically - You.com
What does 'has unmet peer dependency' mean when installing a package with yarn? ... warning in yarn warning " > fullcalendar@3.10.0" has unmet...
Read more >incorrect peer dependency and has unmet peer dependency ...
These warning should not cause any kind of issue. Your project should be work as expected when you use yarn berry. Is your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@posva it may not be a bug, but it’s definitely an issue since it’s preferable not to get in the habit of ignoring warnings. Do have any idea what’s causing the pointless warnings so we can hopefully eliminate them?
yes, safe to ignore
Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂