"warning " > @testing-library/user-event@12.6.2" has unmet peer dependency "@testing-library/dom@>=7.21.4".
See original GitHub issueHi, newbie here, so I will try to put as much info as I can. This is not a problem using the package, just a warning on install.
@testing-library/user-event
version: 12.6.2- node: 14.x
What you did:
When running yarn install
with the latest user-event version, while linking dependencies I get the following warning:
warning " > @testing-library/user-event@12.6.2" has unmet peer dependency "@testing-library/dom@>=7.21.4".
From what I have read, this means that in the user-event
package, it is missing the package as a dependency, and this should be corrected in the user-event package. Is that correct?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Unmet peer dependency warning when the peer ... - GitHub
Installing a dependency and its peer dependency at the same time generates a warning "Unmet peer dependency" even though the peer dependency ...
Read more >YARN warning "has unmet peer dependency". What do with ...
A peer dependency should be installed by yourself. Usually, the purpose is to prevent version conflicts. So, when you read a message such...
Read more >Error npm UNMET PEER DEPENDENCY warning - Edureka
I'm on Windows 10, with Node 5.6.0 and npm 3.6.0. I'm trying to install angular-material and mdi into my working folder. npm install ......
Read more >[package] has unmet peer dependency - Notes and Anecdotes
I'll sometime see a warning telling me that a dependency (that I have installed) has an unmet peer dependency. I don't know what...
Read more >styled-components@5.3.5" has unmet peer dependency ...
Simply installing Storybook HTML with the recommended method causes a ton of dependency warnings to be emitted every time the package manager (Yarn)...
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
No. However you can have pnpm return success even though there are unmet peer dependencies. Not exactly a solution but a workaround I guess
@mr-bjerre Did you resolve the issue with pnpm?