colinrobertbrooks / react-beautiful-dnd-test-utils

Test utils for react-beautiful-dnd built with react-testing-library 🧤
https://www.npmjs.com/package/react-beautiful-dnd-test-utils
MIT License
32 stars 14 forks source link

Update peer dependencies #8

Closed SethTompkins closed 2 years ago

SethTompkins commented 3 years ago

Getting this error when trying to install:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: public@0.1.0
npm ERR! Found: @testing-library/jest-dom@5.12.0
npm ERR! node_modules/@testing-library/jest-dom
npm ERR!   @testing-library/jest-dom@"^5.5.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @testing-library/jest-dom@"^4.0.0" from react-beautiful-dnd-test-utils@3.2.1
npm ERR! node_modules/react-beautiful-dnd-test-utils
npm ERR!   dev react-beautiful-dnd-test-utils@"^3.2.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

When I force the installation, the library works with the newer dependencies, can we upgrade the references?

MarianoDerosa commented 3 years ago

+1 to this

colinrobertbrooks commented 2 years ago

Fixed in v3.2.2. 🚢