capacitor-community / capacitor-community/react-hooks

ERESOLVE unable to resolve dependency tree

Open
#32 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
267
Forks
24
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
unable to resolve dependency tree once we upgraded to latest version of capacitor
**To Reproduce**
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: myproject@0.0.1
npm ERR! Found: @capacitor/core@3.2.3
npm ERR! node_modules/@capacitor/core
npm ERR! @capacitor/core@"^3.2.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @capacitor/core@"~1.3.0" from @ionic/react-hooks@0.0.8
npm ERR! node_modules/@ionic/react-hooks
npm ERR! @ionic/react-hooks@"0.0.8" 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.

**Expected behavior**
Should install

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.