Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting peer dependency @testing-library/preact-hooks@"^1.1.0" #18

Open
anoukd opened this issue Jun 10, 2022 · 2 comments
Open

Conflicting peer dependency @testing-library/preact-hooks@"^1.1.0" #18

anoukd opened this issue Jun 10, 2022 · 2 comments

Comments

@anoukd
Copy link

anoukd commented Jun 10, 2022

Getting this error when running npm install & npm ci using npm 8.12.1:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @testing-library/preact-hooks@1.1.0
npm ERR! Found: @testing-library/preact@3.2.0
npm ERR! node_modules/@testing-library/preact
npm ERR!   dev @testing-library/preact@"^3.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @testing-library/preact@"^2.0.0" from @testing-library/preact-hooks@1.1.0
npm ERR! node_modules/@testing-library/preact-hooks
npm ERR!   dev @testing-library/preact-hooks@"^1.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @testing-library/preact@2.0.1
npm ERR! node_modules/@testing-library/preact
npm ERR!   peer @testing-library/preact@"^2.0.0" from @testing-library/preact-hooks@1.1.0
npm ERR!   node_modules/@testing-library/preact-hooks
npm ERR!     dev @testing-library/preact-hooks@"^1.1.0" 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.
npm ERR! 
npm ERR! See /Users/anouk/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/anouk/.npm/_logs/2022-06-10T10_21_51_045Z-debug-0.log
@ArktinenSieni
Copy link

@testing-library/preact and preact-hooks are conflicting, which prevents updating the preact-testing-library if the preact-hooks are installed to project. @testing-library/preact is still missing the renderHook-function.

Any progress with this? Is there anything I could help with?
@nickmccurdy
@aduth
@CarsonMcKinstry
@fbring

@euclidesdry
Copy link

@testing-library/preact and preact-hooks are conflicting, which prevents updating the preact-testing-library if the preact-hooks are installed to project. @testing-library/preact is still missing the renderHook-function.

Any progress with this? Is there anything I could help with? @nickmccurdy @aduth @CarsonMcKinstry @fbring

The same is occurring with me here, I'm using Preact 10.15.1 and @testing-library/preact@3.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants