Skip to content

issue: npm ERR Could not resolve dependency #105

@ingadi

Description

@ingadi

Version Number

1.6.3

Codesandbox/Expo snack

No response

Steps to reproduce

  1. npm install @ts-react/form
  2. npm install react-hook-form @hookform/resolvers
  3. npm update

Expected behaviour

No npm Errors.

Relevant log output

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: bulletproof-react-vite@0.0.0
npm ERR! Found: @hookform/resolvers@3.1.0
npm ERR! node_modules/@hookform/resolvers
npm ERR!   @hookform/resolvers@"^3.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @hookform/resolvers@"^2.8.0" from @ts-react/form@1.6.3
npm ERR! node_modules/@ts-react/form
npm ERR!   @ts-react/form@"^1.6.3" 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions